Skip to content

Commit

Permalink
Merge branch 'bugfix/folder-sharing-status-won't-update' into 'devel'
Browse files Browse the repository at this point in the history
fixed sharing status

Closes #1106

See merge request sds-dev/sd-connect/swift-browser-ui!152
  • Loading branch information
ViMuilu committed Aug 29, 2023
2 parents 3e156ab + 99900e2 commit cfc6e2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions swift_browser_ui_frontend/src/components/ObjectTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ export default {
owner() {
return this.$route.params.owner;
},
shareModal() {
return this.$store.state.openShareModal;
},
},
watch: {
active: async function() {
Expand Down Expand Up @@ -257,6 +260,9 @@ export default {
isFolderUploading: function () {
if (!this.isFolderUploading) this.updateContainers();
},
shareModal: async function(){
if (!this.shareModal) await this.getFolderSharedStatus();
},
},
created: function () {
// Lodash debounce to prevent the search execution from executing on
Expand Down

0 comments on commit cfc6e2e

Please sign in to comment.