2
0
Эх сурвалжийг харах

fix: new nav show disabled locale bar

NGPixel 5 жил өмнө
parent
commit
6bf0261544

+ 1 - 1
client/components/admin/admin-navigation.vue

@@ -55,7 +55,7 @@
                     v-card.grey(flat, style='height: 100%; border-radius: 4px 0 0 4px;', :class='$vuetify.theme.dark ? `darken-4-l5` : `lighten-3`')
                     v-card.grey(flat, style='height: 100%; border-radius: 4px 0 0 4px;', :class='$vuetify.theme.dark ? `darken-4-l5` : `lighten-3`')
                       .teal.pa-2(style='margin-bottom: 1px; height: 56px;')
                       .teal.pa-2(style='margin-bottom: 1px; height: 56px;')
                         v-select(
                         v-select(
-                          v-if='locales.length > 0'
+                          :disabled='locales.length < 2'
                           label='Locale'
                           label='Locale'
                           hide-details
                           hide-details
                           solo
                           solo