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 - + >