projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21128: add to trash > move to trash Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados-workbench2.git]
/
src
/
store
/
trash
/
trash-actions.ts
diff --git
a/src/store/trash/trash-actions.ts
b/src/store/trash/trash-actions.ts
index d6f0d9a73d2618fea1d6a18cad1281c0b99ee826..dd442188314865bb6cae3c4174e9c56947458c45 100644
(file)
--- a/
src/store/trash/trash-actions.ts
+++ b/
src/store/trash/trash-actions.ts
@@
-22,7
+22,7
@@
export const toggleProjectTrashed =
let errorMessage = "";
let successMessage = "";
let untrashedResource;
let errorMessage = "";
let successMessage = "";
let untrashedResource;
- dispatch<any>(addDisabledButton(MultiSelectMenuActionNames.
ADD
_TO_TRASH))
+ dispatch<any>(addDisabledButton(MultiSelectMenuActionNames.
MOVE
_TO_TRASH))
try {
if (isTrashed) {
errorMessage = "Could not restore project from trash";
try {
if (isTrashed) {
errorMessage = "Could not restore project from trash";
@@
-78,7
+78,7
@@
export const toggleCollectionTrashed =
let errorMessage = "";
let successMessage = "";
console.log('hi')
let errorMessage = "";
let successMessage = "";
console.log('hi')
- dispatch<any>(addDisabledButton(MultiSelectMenuActionNames.
ADD
_TO_TRASH))
+ dispatch<any>(addDisabledButton(MultiSelectMenuActionNames.
MOVE
_TO_TRASH))
try {
if (isTrashed) {
const { location } = getState().router;
try {
if (isTrashed) {
const { location } = getState().router;