From 9ded4854afff791398e88562c146fd484d91fe27 Mon Sep 17 00:00:00 2001 From: Max Ehrlicher-Schmidt Date: Mon, 9 Nov 2020 15:06:57 +0100 Subject: [PATCH] Rename string-cell component to cell --- src/app/app.module.ts | 4 ++-- .../cell.component.html} | 0 .../cell.component.scss} | 0 .../cell.component.ts} | 8 ++++---- src/app/pages/tables/bikes/bikes.component.html | 16 ++++++++-------- 5 files changed, 14 insertions(+), 14 deletions(-) rename src/app/components/tableComponents/{string-cell/string-cell.component.html => cell/cell.component.html} (100%) rename src/app/components/tableComponents/{string-cell/string-cell.component.scss => cell/cell.component.scss} (100%) rename src/app/components/tableComponents/{string-cell/string-cell.component.ts => cell/cell.component.ts} (73%) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 5d9936c..838ad3b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -31,7 +31,7 @@ import { GraphQLModule } from './graphql.module'; import { ParticipantsComponent } from './pages/tables/participants/participants.component'; import { LendingStationsComponent } from './pages/tables/lending-stations/lending-stations.component'; import { TableOverviewComponent } from './pages/table-overview/table-overview.component'; -import { StringCellComponent } from './components/tableComponents/string-cell/string-cell.component'; +import { CellComponent } from './components/tableComponents/cell/cell.component'; import { MenuListItemComponent } from './components/menu-list-item/menu-list-item.component'; import { NavService }from './components/menu-list-item/nav.service'; @@ -44,7 +44,7 @@ import { NavService }from './components/menu-list-item/nav.service'; ParticipantsComponent, LendingStationsComponent, TableOverviewComponent, - StringCellComponent, + CellComponent, ], imports: [ BrowserModule, diff --git a/src/app/components/tableComponents/string-cell/string-cell.component.html b/src/app/components/tableComponents/cell/cell.component.html similarity index 100% rename from src/app/components/tableComponents/string-cell/string-cell.component.html rename to src/app/components/tableComponents/cell/cell.component.html diff --git a/src/app/components/tableComponents/string-cell/string-cell.component.scss b/src/app/components/tableComponents/cell/cell.component.scss similarity index 100% rename from src/app/components/tableComponents/string-cell/string-cell.component.scss rename to src/app/components/tableComponents/cell/cell.component.scss diff --git a/src/app/components/tableComponents/string-cell/string-cell.component.ts b/src/app/components/tableComponents/cell/cell.component.ts similarity index 73% rename from src/app/components/tableComponents/string-cell/string-cell.component.ts rename to src/app/components/tableComponents/cell/cell.component.ts index 1e1948f..420f71a 100644 --- a/src/app/components/tableComponents/string-cell/string-cell.component.ts +++ b/src/app/components/tableComponents/cell/cell.component.ts @@ -2,11 +2,11 @@ import { Component, Input, Output, EventEmitter } from '@angular/core'; import { catchError } from 'rxjs/operators'; @Component({ - selector: 'app-string-cell', - templateUrl: './string-cell.component.html', - styleUrls: ['./string-cell.component.scss'], + selector: 'app-cell', + templateUrl: './cell.component.html', + styleUrls: ['./cell.component.scss'], }) -export class StringCellComponent { +export class CellComponent { @Input() value: number | string; @Output() valueChange = new EventEmitter(); diff --git a/src/app/pages/tables/bikes/bikes.component.html b/src/app/pages/tables/bikes/bikes.component.html index eb729ad..d52078a 100644 --- a/src/app/pages/tables/bikes/bikes.component.html +++ b/src/app/pages/tables/bikes/bikes.component.html @@ -39,10 +39,10 @@ Name - + > @@ -56,10 +56,10 @@ Fahrgestellnummer - + > @@ -67,11 +67,11 @@ Anzahl Kinder - + > @@ -79,11 +79,11 @@ Räderanzahl - + >