Skip to content

Commit

Permalink
Merge pull request #2209 from nextcloud/fix/refetch-on-anchor-links
Browse files Browse the repository at this point in the history
fix: refetch only on path change, not on anchor links (e.g. "skip to" links)
  • Loading branch information
artonge authored Dec 21, 2023
2 parents 538580f + 3ce6e75 commit 5f3676d
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions js/photos-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-sidebar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-sidebar.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/mixins/FetchFilesMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default {
},

watch: {
$route() {
'$route.path'() {
this.resetFetchFilesState()
},
},
Expand Down

0 comments on commit 5f3676d

Please sign in to comment.