mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: ♻️ Fix more broken UIs, rewrite account switcher
This commit is contained in:
parent
ac0a571ecc
commit
a4d42e3086
31 changed files with 167 additions and 176 deletions
|
|
@ -2,7 +2,9 @@
|
|||
<SidebarProvider>
|
||||
<AppSidebar>
|
||||
<slot v-if="!route.meta.requiresAuth || identity" />
|
||||
<AuthRequired v-else />
|
||||
<div class="mx-auto max-w-4xl p-4" v-else>
|
||||
<AuthRequired />
|
||||
</div>
|
||||
</AppSidebar>
|
||||
</SidebarProvider>
|
||||
<MobileNavbar v-if="identity" />
|
||||
|
|
@ -27,10 +29,6 @@ const notUsingInput = computed(
|
|||
activeElement.value?.tagName !== "TEXTAREA" &&
|
||||
activeElement.value?.contentEditable !== "true",
|
||||
);
|
||||
|
||||
const backgroundImage = useSetting(SettingIds.BackgroundURL);
|
||||
const canParseUrl = URL.canParse;
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
watch([n, notUsingInput, d], async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue