Fix CR comments
authorMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Mon, 20 Aug 2018 13:45:43 +0000 (15:45 +0200)
committerMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Mon, 20 Aug 2018 13:45:43 +0000 (15:45 +0200)
Feature #14015

Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>

src/store/dialog/dialog-reducer.ts
src/views-components/context-menu/action-sets/collection-files-item-action-set.ts

index 1675db4d76f6c226076b59bf1f6ac04848cb2e86..4ef4139c997a0d36326e7beeb56462f459012584 100644 (file)
@@ -6,7 +6,7 @@ import { DialogAction, dialogActions } from "./dialog-actions";
 
 export type DialogState = Record<string, Dialog>;
 
-export interface Dialog <T = any> {
+export interface Dialog <T = {}> {
     open: boolean;
     data: T;
 }
index 0bc693ccdf8cb95a9e85bf00fa65e6a127205639..b55648917329723d6cec917b8e73b53725695673 100644 (file)
@@ -5,7 +5,7 @@
 import { ContextMenuActionSet } from "../context-menu-action-set";
 import { RenameIcon, RemoveIcon } from "~/components/icon/icon";
 import { DownloadCollectionFileAction } from "../actions/download-collection-file-action";
-import { openFileRemoveDialog, openRenameFileDialog } from '../../../store/collection-panel/collection-panel-files/collection-panel-files-actions';
+import { openFileRemoveDialog, openRenameFileDialog } from '~/store/collection-panel/collection-panel-files/collection-panel-files-actions';
 
 
 export const collectionFilesItemActionSet: ContextMenuActionSet = [[{