import { ServiceRepository } from "~/services/services";
import { dialogActions } from '~/store/dialog/dialog-actions';
import { getNewExtraToken } from "../auth/auth-action";
+import { CollectionResource } from "~/models/collection";
export const COLLECTION_WEBDAV_S3_DIALOG_NAME = 'collectionWebdavS3Dialog';
localCluster: string;
username: string;
activeTab: number;
- collectionName?: string;
+ collectionName: string;
setActiveTab: (event: any, tabNr: number) => void;
}
localCluster: getState().auth.localCluster,
username: getState().auth.user!.username,
activeTab: activeTab || 0,
- collectionName: (getState().collectionPanel.item || {} as any).name,
+ collectionName: (getState().resources[uuid] as CollectionResource).name,
setActiveTab: (event: any, tabNr: number) => dispatch<any>(openWebDavS3InfoDialog(uuid, tabNr)),
uuid
}