projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init process-view-info-card
[arvados.git]
/
src
/
store
/
collections
/
creator
/
collection-creator-reducer.ts
diff --git
a/src/store/collections/creator/collection-creator-reducer.ts
b/src/store/collections/creator/collection-creator-reducer.ts
index 140cbbea45e4bf423eda511d9a393133507f0334..72c999d0d198a588766e5abf9cbccaa7608446d2 100644
(file)
--- a/
src/store/collections/creator/collection-creator-reducer.ts
+++ b/
src/store/collections/creator/collection-creator-reducer.ts
@@
-4,14
+4,12
@@
import { collectionCreateActions, CollectionCreateAction } from './collection-creator-action';
import { collectionCreateActions, CollectionCreateAction } from './collection-creator-action';
-export type CollectionCreatorState = CollectionCreator;
-
-interface CollectionCreator {
+export interface CollectionCreatorState {
opened: boolean;
ownerUuid: string;
}
opened: boolean;
ownerUuid: string;
}
-const updateCreator = (state: CollectionCreatorState, creator?: Partial<CollectionCreator>) => ({
+const updateCreator = (state: CollectionCreatorState, creator?: Partial<CollectionCreator
State
>) => ({
...state,
...creator
});
...state,
...creator
});