Skip to content

Commit

Permalink
fix: fetch resource api once when sorting (closes #1172) (#1202)
Browse files Browse the repository at this point in the history
  • Loading branch information
wipphj committed Jan 11, 2021
1 parent b600b11 commit 05bb7c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/views/Files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ export default {
},
watch: {
'$route': 'fetchData',
'reload': function () {
this.fetchData()
'reload': function (value) {
if (value === true) {
this.fetchData()
}
}
},
mounted () {
Expand Down

0 comments on commit 05bb7c8

Please sign in to comment.