fix: multiple request created on teams (closes #2455)
This commit is contained in:
@@ -376,6 +376,9 @@ export default defineComponent({
|
||||
if (!newValue) this.updateCollectionType("my-collections")
|
||||
},
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.teamCollectionAdapter.unsubscribeSubscriptions()
|
||||
},
|
||||
mounted() {
|
||||
this.subscribeTo(this.teamCollectionAdapter.collections$, (colls) => {
|
||||
this.teamCollectionsNew = cloneDeep(colls)
|
||||
|
||||
Reference in New Issue
Block a user