Skip to content

Commit 7de7eb2

Browse files
author
chiku
committed
Make release-edit button imvisible if the user has no write permission.
1 parent 0dec6ca commit 7de7eb2

File tree

1 file changed

+1
-1
lines changed
  • app/guid-node/binderhub/-components/mpm-package-editor

1 file changed

+1
-1
lines changed

app/guid-node/binderhub/-components/mpm-package-editor/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
>
4040
<i class='fa fa-times' />
4141
</button>
42-
{{else}}
42+
{{else if this.node.userHasWritePermission}}
4343
{{this.release}}
4444
<button
4545
data-test-mpm-release-edit

0 commit comments

Comments
 (0)