From a0ec25efb4943d78e525b2183948c6f8fb526a71 Mon Sep 17 00:00:00 2001
From: dizzy <diosmosis@users.noreply.github.com>
Date: Thu, 7 Jul 2022 01:25:22 -0700
Subject: In SiteSelector adapter, initialize scope.value too so it does not
 end up changing modelValue to undefined. (#19483)

---
 plugins/CoreHome/vue/src/SiteSelector/SiteSelector.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugins/CoreHome/vue/src/SiteSelector/SiteSelector.vue')

diff --git a/plugins/CoreHome/vue/src/SiteSelector/SiteSelector.vue b/plugins/CoreHome/vue/src/SiteSelector/SiteSelector.vue
index ab537111ab..a255203521 100644
--- a/plugins/CoreHome/vue/src/SiteSelector/SiteSelector.vue
+++ b/plugins/CoreHome/vue/src/SiteSelector/SiteSelector.vue
@@ -80,7 +80,7 @@
         >
           <li
             @click="switchSite({ ...site, id: site.idsite }, $event)"
-            v-show="!(!showSelectedSite && activeSiteId === site.idsite)"
+            v-show="!(!showSelectedSite && `${activeSiteId}` === `${site.idsite}`)"
             v-for="(site, index) in sites"
             :key="index"
           >
-- 
cgit v1.2.3

