From 6adf6cc520c0dadcd22a5923d4646e1628207efd Mon Sep 17 00:00:00 2001 From: romeonicholas Date: Tue, 28 Nov 2023 17:20:35 +0100 Subject: [PATCH] fix: Migrate logic for button showing to Angular 17 blocks --- .../model-overview.component.html | 70 +++++++++---------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/frontend/src/app/projects/project-detail/model-overview/model-overview.component.html b/frontend/src/app/projects/project-detail/model-overview/model-overview.component.html index 3529e84ce6..d73bbea3b7 100644 --- a/frontend/src/app/projects/project-detail/model-overview/model-overview.component.html +++ b/frontend/src/app/projects/project-detail/model-overview/model-overview.component.html @@ -6,42 +6,40 @@

Models

- - add - - + @if (projectUserService.verifyRole("manager")) { + + add + + @if (models !== undefined && models.length > 1) { + + } + }