We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 301fc20 commit 6ed4e98Copy full SHA for 6ed4e98
src/app/src/components/panel/base/PanelBaseFooter.vue
@@ -2,10 +2,10 @@
2
import { computed } from 'vue'
3
import { useStudio } from '../../../composables/useStudio'
4
5
-const studio = useStudio()
6
-const uiConfig = studio.ui.config
+const { ui, host } = useStudio()
7
8
-const user = studio.host.user.get()
+const uiConfig = ui.config
+const user = host.user.get()
9
10
const userMenuItems = computed(() => [
11
{
@@ -56,7 +56,7 @@ const userMenuItems = computed(() => [
56
variant="link"
57
color="neutral"
58
size="md"
59
- @click="studio.ui.closePanels()"
+ @click="ui.closePanels()"
60
/>
61
</template>
62
</UFooter>
0 commit comments