Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Jan 8, 2024
1 parent d5d5cef commit acb28c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/components/common/DockingPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ watch(activeAppRecordId, (id) => {
<VueDarkToggle>
<template #default="{ isDark, toggle }">
<VueButton outlined type="primary" @click="toggle">
<div i-carbon-sun dark:i-carbon-moon translate-y--1px /> {{ isDark.value ? 'Dark' : 'Light' }}
<div i-carbon-sun dark:i-carbon-moon translate-y--1px /> {{ isDark ? 'Dark' : 'Light' }}
</VueButton>
</template>
</VueDarkToggle>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/storybook/DarkToggle.story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const dark = computed({
toggle(e)
}"
>
<Icon :class="isDark.value ? 'i-carbon-moon' : 'i-carbon-sun'" />
<Icon :class="isDark ? 'i-carbon-moon' : 'i-carbon-sun'" />
</Button>
</template>
</DarkToggle>
Expand Down

0 comments on commit acb28c3

Please sign in to comment.