Skip to content

Commit

Permalink
Skip: Show object loader only in destination container (merge commit)
Browse files Browse the repository at this point in the history
Merge branch 'bugfix/object-view-loader' into 'main'
* Show after-upload loader only in destination container

Closes #1234
See merge request https://gitlab.ci.csc.fi/sds-dev/sd-connect/swift-browser-ui/-/merge_requests/315

Approved-by: Hang Le <lhang@csc.fi>
Co-authored-by: Monika Radaviciute <mradavic@csc.fi>
Merged by Hang Le <lhang@csc.fi>
  • Loading branch information
Hang Le committed Apr 17, 2024
2 parents c0b025e + 4210b5a commit b61bbc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swift_browser_ui_frontend/src/components/CObjectTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ export default {
|| this.accessRights.length === 2;
},
isLoaderVisible() {
return this.$store.state.isLoaderVisible;
return this.$store.state.isLoaderVisible
&& this.$store.state.uploadFolder.name === this.container;
},
owner() {
return this.$route.params.owner;
Expand Down

0 comments on commit b61bbc7

Please sign in to comment.