From 7780ecf8e5859a9d0ed19ed5152fc769b1099f38 Mon Sep 17 00:00:00 2001 From: Arjan Molenaar Date: Thu, 26 Oct 2023 12:58:41 +0200 Subject: [PATCH] feat: show fewer buttons on models in training projects --- .../model-overview/model-overview.component.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 50438f229f..97eb9159bf 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 @@ -120,7 +120,9 @@

Models

class="!m-1.5" (click)="openPipelineDialog(model)" *ngIf=" - projectUserService.verifyRole('manager') && !project?.is_archived + projectUserService.verifyRole('manager') && + !project?.is_archived && + project?.type !== 'training' " > sync @@ -143,6 +145,7 @@

Models

routerLink="/sessions" *ngIf=" !project?.is_archived && + project?.type !== 'training' && model.t4c_models && projectUserService.verifyPermission('write') "