Skip to content

Commit

Permalink
Merge pull request #33526 from nextcloud/fix/duplicate-filter-ids
Browse files Browse the repository at this point in the history
Fix duplicate ids on apps management page
  • Loading branch information
artonge authored Aug 17, 2022
2 parents a2d1457 + d9f1f5a commit 634ee18
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/settings/src/components/SvgFilterMixin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
},
},
mounted() {
this.filterId = 'invertIconApps' + Math.floor((Math.random() * 100)) + new Date().getSeconds() + new Date().getMilliseconds()
this.filterId = 'invertIconApps-' + Math.random().toString(36).substring(2)
},
}
</script>
4 changes: 2 additions & 2 deletions dist/settings-apps-view-7418.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-apps-view-7418.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 634ee18

Please sign in to comment.