Skip to content

Commit 6ed4e98

Browse files
committed
refactor(footer): harmonize useStudio call
1 parent 301fc20 commit 6ed4e98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/src/components/panel/base/PanelBaseFooter.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import { computed } from 'vue'
33
import { useStudio } from '../../../composables/useStudio'
44
5-
const studio = useStudio()
6-
const uiConfig = studio.ui.config
5+
const { ui, host } = useStudio()
76
8-
const user = studio.host.user.get()
7+
const uiConfig = ui.config
8+
const user = host.user.get()
99
1010
const userMenuItems = computed(() => [
1111
{
@@ -56,7 +56,7 @@ const userMenuItems = computed(() => [
5656
variant="link"
5757
color="neutral"
5858
size="md"
59-
@click="studio.ui.closePanels()"
59+
@click="ui.closePanels()"
6060
/>
6161
</template>
6262
</UFooter>

0 commit comments

Comments
 (0)