diff --git a/ui/src/app/views/workspace-nav-bar/component.html b/ui/src/app/views/workspace-nav-bar/component.html index 464b9e6f8e4..c61421db084 100644 --- a/ui/src/app/views/workspace-nav-bar/component.html +++ b/ui/src/app/views/workspace-nav-bar/component.html @@ -8,7 +8,7 @@ --> - Cohort Builder diff --git a/ui/src/app/views/workspace/component.html b/ui/src/app/views/workspace/component.html index 667376f1dd9..200c33a886d 100644 --- a/ui/src/app/views/workspace/component.html +++ b/ui/src/app/views/workspace/component.html @@ -24,7 +24,7 @@

{{workspace.name}}

Workspace is awaiting review diff --git a/ui/src/app/views/workspace/component.ts b/ui/src/app/views/workspace/component.ts index 3e6312b4f30..d9969d8eefb 100644 --- a/ui/src/app/views/workspace/component.ts +++ b/ui/src/app/views/workspace/component.ts @@ -369,4 +369,9 @@ export class WorkspaceComponent implements OnInit, OnDestroy { const asDate = new Date(this.workspace.lastModifiedTime); return asDate.toDateString(); } + + get writePermission(): boolean { + return this.accessLevel === WorkspaceAccessLevel.OWNER + || this.accessLevel === WorkspaceAccessLevel.WRITER; + } }