File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1414 >
1515 <v-icon icon =" mdi:mdi-menu" ></v-icon >
1616 </v-app-bar-nav-icon >
17+
1718 <v-app-bar-nav-icon
1819 v-else
1920 class =" nav-drawer-btn me-2 ms-3"
6465 </v-select >
6566
6667 <v-chip
68+ v-if =" isSmAndUp"
6769 class =" me-2 d-flex justify-center"
6870 :class =" `badge-${selectedLibrary.id}`"
6971 :href =" selectedLibrary.id === 'prismjs'
122124import { onMounted , ref } from ' vue' ;
123125import { useCoreStore } from ' @/stores/index' ;
124126import { useMenuStore } from ' @/stores/menu' ;
125- import { useTheme } from ' vuetify' ;
127+ import { useDisplay , useTheme } from ' vuetify' ;
126128
127129const emit = defineEmits ([' changedTheme' , ' updatedDrawer' ]);
128130
@@ -147,11 +149,13 @@ onMounted(() => {
147149const menuStore = useMenuStore ();
148150const store = useCoreStore ();
149151const theme = useTheme ();
152+ const { smAndUp } = useDisplay ();
150153
151154
152155const links = store .links ;
153156const themeName = ref (' dark' );
154157const drawer = ref (true );
158+ const isSmAndUp = computed (() => smAndUp .value );
155159
156160const menuItems = [... menuStore .libraryItems ];
157161
You can’t perform that action at this time.
0 commit comments