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 8
8
:name =" settings.name"
9
9
:style =" drawerStyles"
10
10
:tag =" settings.tag"
11
- :theme = " theTheme "
11
+
12
12
:width =" drawerWidth"
13
13
@mouseenter =" drawerMouseenter"
14
14
@mouseleave =" drawerMouseleave"
64
64
</template >
65
65
66
66
<script setup lang="ts">
67
- import { IconOptions , useDisplay , useTheme } from ' vuetify' ;
67
+ import { IconOptions , useDisplay } from ' vuetify' ;
68
68
import { VNavigationDrawer } from ' vuetify/components' ;
69
69
import {
70
70
EmitEventNames ,
@@ -609,16 +609,6 @@ function handleTouchend(e: TouchEvent): void {
609
609
}
610
610
611
611
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
-
622
612
// -------------------------------------------------- Misc Events //
623
613
function emitEvent(name : EmitEventNames , e : Event | MouseEvent ): void {
624
614
const widthInt = parseInt (checkMaxMinAmount (resizedAmount .value as string )) ?? 0 as number ;
You can’t perform that action at this time.
0 commit comments