projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '21030-update-perm-cte' refs #21030
[arvados.git]
/
services
/
workbench2
/
src
/
store
/
context-menu
/
context-menu-actions.ts
diff --git
a/services/workbench2/src/store/context-menu/context-menu-actions.ts
b/services/workbench2/src/store/context-menu/context-menu-actions.ts
index e659de8a6c39c02e2d7ddbf188df4d1d7892d9bb..4abfb372f915152f62761cd4440df6605df0914a 100644
(file)
--- a/
services/workbench2/src/store/context-menu/context-menu-actions.ts
+++ b/
services/workbench2/src/store/context-menu/context-menu-actions.ts
@@
-274,7
+274,7
@@
export const resourceUuidToContextMenuKind = (uuid: string, readonly = false) =>
case ResourceKind.LINK:
return ContextMenuKind.LINK;
case ResourceKind.WORKFLOW:
case ResourceKind.LINK:
return ContextMenuKind.LINK;
case ResourceKind.WORKFLOW:
- return
ContextMenuKind.
WORKFLOW;
+ return
isEditable ? ContextMenuKind.WORKFLOW : ContextMenuKind.READONLY_
WORKFLOW;
default:
return;
}
default:
return;
}