21128: basic collection actioons good Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
[arvados-workbench2.git] / src / store / trash / trash-actions.ts
index 50ac31c8f92d9ebbaab00a0915a11f22970aff66..d6f0d9a73d2618fea1d6a18cad1281c0b99ee826 100644 (file)
@@ -77,6 +77,8 @@ export const toggleCollectionTrashed =
         async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository): Promise<any> => {
             let errorMessage = "";
             let successMessage = "";
+            console.log('hi')
+            dispatch<any>(addDisabledButton(MultiSelectMenuActionNames.ADD_TO_TRASH))
             try {
                 if (isTrashed) {
                     const { location } = getState().router;