aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-08-13 02:14:47 +0000
committerChristopher Ng <chrng8@gmail.com>2022-08-13 02:14:47 +0000
commitd9f1f5a8acd6939596b0cf3f166c1b0473eccf76 (patch)
tree686d2723deac4284c2f7f9860517866ff010db7c /apps/settings
parent6209026794962a02d882f30f5f927df81ac22a28 (diff)
downloadnextcloud-server-d9f1f5a8acd6939596b0cf3f166c1b0473eccf76.tar.gz
nextcloud-server-d9f1f5a8acd6939596b0cf3f166c1b0473eccf76.zip
Fix duplicate ids on apps management page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/src/components/SvgFilterMixin.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/src/components/SvgFilterMixin.vue b/apps/settings/src/components/SvgFilterMixin.vue
index 228b574f3c4..15713514436 100644
--- a/apps/settings/src/components/SvgFilterMixin.vue
+++ b/apps/settings/src/components/SvgFilterMixin.vue
@@ -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>