projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding/removing-from-public-favorites
[arvados-workbench2.git]
/
src
/
views-components
/
context-menu
/
action-sets
/
project-action-set.ts
diff --git
a/src/views-components/context-menu/action-sets/project-action-set.ts
b/src/views-components/context-menu/action-sets/project-action-set.ts
index 8c81e3bd1996633ff39eca407e3547a6de0f3cf3..32616fce9731a987eff015e5d30c03bc45aa0153 100644
(file)
--- a/
src/views-components/context-menu/action-sets/project-action-set.ts
+++ b/
src/views-components/context-menu/action-sets/project-action-set.ts
@@
-3,7
+3,7
@@
// SPDX-License-Identifier: AGPL-3.0
import { ContextMenuActionSet } from "../context-menu-action-set";
// SPDX-License-Identifier: AGPL-3.0
import { ContextMenuActionSet } from "../context-menu-action-set";
-import { NewProjectIcon, RenameIcon,
CopyIcon,
MoveToIcon, DetailsIcon, AdvancedIcon } from '~/components/icon/icon';
+import { NewProjectIcon, RenameIcon, MoveToIcon, DetailsIcon, AdvancedIcon } from '~/components/icon/icon';
import { ToggleFavoriteAction } from "../actions/favorite-action";
import { toggleFavorite } from "~/store/favorites/favorites-actions";
import { favoritePanelActions } from "~/store/favorite-panel/favorite-panel-action";
import { ToggleFavoriteAction } from "../actions/favorite-action";
import { toggleFavorite } from "~/store/favorites/favorites-actions";
import { favoritePanelActions } from "~/store/favorite-panel/favorite-panel-action";
@@
-47,12
+47,6
@@
export const projectActionSet: ContextMenuActionSet = [[
});
}
},
});
}
},
- {
- component: ToggleTrashAction,
- execute: (dispatch, resource) => {
- dispatch<any>(toggleProjectTrashed(resource.uuid, resource.ownerUuid, resource.isTrashed!!));
- }
- },
{
icon: MoveToIcon,
name: "Move to",
{
icon: MoveToIcon,
name: "Move to",
@@
-81,4
+75,10
@@
export const projectActionSet: ContextMenuActionSet = [[
dispatch<any>(openAdvancedTabDialog(resource.uuid));
}
},
dispatch<any>(openAdvancedTabDialog(resource.uuid));
}
},
+ {
+ component: ToggleTrashAction,
+ execute: (dispatch, resource) => {
+ dispatch<any>(toggleProjectTrashed(resource.uuid, resource.ownerUuid, resource.isTrashed!!));
+ }
+ },
]];
]];