Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-08-13 05:14:47 +0300
committerChristopher Ng <chrng8@gmail.com>2022-08-13 05:14:47 +0300
commitd9f1f5a8acd6939596b0cf3f166c1b0473eccf76 (patch)
tree686d2723deac4284c2f7f9860517866ff010db7c /apps/settings
parent6209026794962a02d882f30f5f927df81ac22a28 (diff)
Fix duplicate ids on apps management pagefix/duplicate-filter-ids
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>