From a41d674eb4c26c76fa0c5d3716f640a434cf5188 Mon Sep 17 00:00:00 2001 From: Marshu Date: Sun, 20 Apr 2025 22:02:47 +0800 Subject: [PATCH] Fix the warning and error --- src/components/PublicGroupList.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/PublicGroupList.vue b/src/components/PublicGroupList.vue index 887c3e11e..6c3e0cc05 100644 --- a/src/components/PublicGroupList.vue +++ b/src/components/PublicGroupList.vue @@ -202,10 +202,6 @@ export default { return (this.$root.publicGroupList.length >= 2); } }, - created() { - // Initialize sort settings - this.initializeSortSettings(); - }, watch: { // Watch for changes in heartbeat list, reapply sorting "$root.heartbeatList": { @@ -235,6 +231,10 @@ export default { deep: true, }, }, + created() { + // Initialize sort settings + this.initializeSortSettings(); + }, mounted() { // Load sort settings from URL this.loadSortSettingsFromURL();