Browse Source
fix(SharedItems): get shared items straight after page reload
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
pull/11868/head
Maksim Sukharev
2 years ago
No known key found for this signature in database
GPG Key ID: 6349D071889BD1D5
1 changed files with
6 additions and
3 deletions
-
src/components/RightSidebar/SharedItems/SharedItemsTab.vue
|
|
@ -185,9 +185,12 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
watch: { |
|
|
|
sharedItemsIdentifier() { |
|
|
|
if (this.token && this.active && this.isSidebarOpen) { |
|
|
|
this.sharedItemsStore.getSharedItemsOverview(this.token) |
|
|
|
sharedItemsIdentifier: { |
|
|
|
immediate: true, |
|
|
|
handler() { |
|
|
|
if (this.token && this.active && this.isSidebarOpen) { |
|
|
|
this.sharedItemsStore.getSharedItemsOverview(this.token) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|