Skip to content

Commit e73c9b1

Browse files
Adding null check
1 parent 7967517 commit e73c9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/plugin/VResizeDrawer.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ const theTheme = computed(() => {
512512
return settings.value.theme;
513513
}
514514
515-
return theme.global.current.value.dark === true ? 'dark' : 'light';
515+
return theme.global.current.value?.dark === true ? 'dark' : 'light';
516516
});
517517
518518

0 commit comments

Comments
 (0)