projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 14452-my-account
[arvados-workbench2.git]
/
src
/
views-components
/
context-menu
/
action-sets
/
repository-action-set.ts
diff --git
a/src/views-components/context-menu/action-sets/repository-action-set.ts
b/src/views-components/context-menu/action-sets/repository-action-set.ts
index cf7fb883cfeb0bab89c0364085627e1ec2ceb1e9..82c2f2b8e04909b861d561ff59557c89ae973a1c 100644
(file)
--- a/
src/views-components/context-menu/action-sets/repository-action-set.ts
+++ b/
src/views-components/context-menu/action-sets/repository-action-set.ts
@@
-11,8
+11,8
@@
import { openSharingDialog } from "~/store/sharing-dialog/sharing-dialog-actions
export const repositoryActionSet: ContextMenuActionSet = [[{
name: "Attributes",
icon: AttributesIcon,
export const repositoryActionSet: ContextMenuActionSet = [[{
name: "Attributes",
icon: AttributesIcon,
- execute: (dispatch, {
index
}) => {
- dispatch<any>(openRepositoryAttributes(
index!
));
+ execute: (dispatch, {
uuid
}) => {
+ dispatch<any>(openRepositoryAttributes(
uuid
));
}
}, {
name: "Share",
}
}, {
name: "Share",
@@
-23,8
+23,8
@@
export const repositoryActionSet: ContextMenuActionSet = [[{
}, {
name: "Advanced",
icon: AdvancedIcon,
}, {
name: "Advanced",
icon: AdvancedIcon,
- execute: (dispatch,
{ uuid, index }
) => {
- dispatch<any>(openAdvancedTabDialog(
uuid, index
));
+ execute: (dispatch,
resource
) => {
+ dispatch<any>(openAdvancedTabDialog(
resource.uuid
));
}
}, {
name: "Remove",
}
}, {
name: "Remove",