X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/07f6b3436c07bba13c33d66862c9d6d65aef3d24..7437e0b4a85480fc6ca977488a5bb501e7fa1e3e:/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts diff --git a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts index 80d61ea0..c7a3bdc5 100644 --- a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts +++ b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts @@ -47,7 +47,8 @@ export const loadCollectionFiles = (uuid: string) => dispatch(snackbarActions.OPEN_SNACKBAR({ message: `Error getting file list`, hideDuration: 2000, - kind: SnackbarKind.ERROR })); + kind: SnackbarKind.ERROR + })); }); }; @@ -149,7 +150,7 @@ export const renameFile = (newFullPath: string) => dispatch(loadCollectionPanel(currentCollection.uuid, true)); dispatch(dialogActions.CLOSE_DIALOG({ id: RENAME_FILE_DIALOG })); dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'File name changed.', hideDuration: 2000 })); - }).catch (e => { + }).catch(e => { const errors: FormErrors = { path: `Could not rename the file: ${e.responseText}` };