diff --git a/api/src/model/entitites/cylinder.entity.ts b/api/src/model/entitites/cylinder.entity.ts index 2132bfa..201a908 100644 --- a/api/src/model/entitites/cylinder.entity.ts +++ b/api/src/model/entitites/cylinder.entity.ts @@ -24,7 +24,7 @@ export class Cylinder { description: string; @Column({name: 'digital', type: 'boolean', default: false}) - isDigital: boolean; + digital: boolean; @ManyToMany(() => Key, (key) => key.cylinder, { onDelete: 'NO ACTION'}) diff --git a/client/src/app/core/layout/layout.component.html b/client/src/app/core/layout/layout.component.html index 98fe775..7c29bec 100644 --- a/client/src/app/core/layout/layout.component.html +++ b/client/src/app/core/layout/layout.component.html @@ -13,11 +13,11 @@ - - - + + + @if (isAdmin) { - + }