File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 88 :name =" settings.name"
99 :style =" drawerStyles"
1010 :tag =" settings.tag"
11- :theme = " theTheme "
11+
1212 :width =" drawerWidth"
1313 @mouseenter =" drawerMouseenter"
1414 @mouseleave =" drawerMouseleave"
6464</template >
6565
6666<script setup lang="ts">
67- import { IconOptions , useDisplay , useTheme } from ' vuetify' ;
67+ import { IconOptions , useDisplay } from ' vuetify' ;
6868import { VNavigationDrawer } from ' vuetify/components' ;
6969import {
7070 EmitEventNames ,
@@ -609,16 +609,6 @@ function handleTouchend(e: TouchEvent): void {
609609}
610610
611611
612- // -------------------------------------------------- Theme //
613- const theTheme = computed (() => {
614- if (settings .value .theme ) {
615- return settings .value .theme ;
616- }
617-
618- return themeInternal .global .current .value ?.dark === true ? ' dark' : ' light' ;
619- });
620-
621-
622612// -------------------------------------------------- Misc Events //
623613function emitEvent(name : EmitEventNames , e : Event | MouseEvent ): void {
624614 const widthInt = parseInt (checkMaxMinAmount (resizedAmount .value as string )) ?? 0 as number ;
You can’t perform that action at this time.
0 commit comments