chore: minor ui improvements

This commit is contained in:
Liyas Thomas
2022-12-14 19:29:04 +05:30
parent 0d26d4cdbd
commit ba6069324f
15 changed files with 43 additions and 36 deletions

View File

@@ -24,7 +24,7 @@
<ButtonPrimary
:label="t('auth.login')"
class="mb-4"
@click="showLogin = true"
@click="invokeAction('modals.login.toggle')"
/>
</div>
<div v-else class="space-y-8">
@@ -285,7 +285,6 @@
</div>
</div>
</div>
<FirebaseLogin :show="showLogin" @hide-modal="showLogin = false" />
</div>
</template>
@@ -317,6 +316,7 @@ import { deleteShortcode as backendDeleteShortcode } from "~/helpers/backend/mut
import IconVerified from "~icons/lucide/verified"
import IconSettings from "~icons/lucide/settings"
import IconHelpCircle from "~icons/lucide/help-circle"
import { invokeAction } from "~/helpers/actions"
type ProfileTabs = "sync" | "teams"
@@ -330,8 +330,6 @@ usePageHead({
title: computed(() => t("navigation.profile")),
})
const showLogin = ref(false)
const SYNC_COLLECTIONS = useSetting("syncCollections")
const SYNC_ENVIRONMENTS = useSetting("syncEnvironments")
const SYNC_HISTORY = useSetting("syncHistory")