Update app/stores/CollectionsStore.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
Saumya PandeyandTom Moor authored and GitHub committed 2021-03-15 11:03:42 +05:30
1 parent c27d455fcd
commit 0b95fb4593
1 file changed
-1
-1
View File
@@ -112,7 +112,6 @@ export default class CollectionsStore extends BaseStore<Collection> {
invariant(res && res.success, "Collection could not be moved");
const collection = this.get(collectionId);
collection.updateIndex(index);
this.addPolicies(res.policies);
};
async update(params: Object): Promise<Collection> {