feat: settings page
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
<template>
|
||||
<SmartModal v-if="show" @close="hideModal">
|
||||
<template #header>
|
||||
<h3 class="heading">{{ $t("login") }}</h3>
|
||||
<div>
|
||||
<ButtonSecondary icon="close" @click.native="hideModal" />
|
||||
</div>
|
||||
</template>
|
||||
<template #body>
|
||||
<FirebaseLogin />
|
||||
</template>
|
||||
</SmartModal>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
show: Boolean,
|
||||
},
|
||||
methods: {
|
||||
hideModal() {
|
||||
this.$emit("hide-modal")
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@@ -14,7 +14,6 @@
|
||||
:title="$t('choose_language')"
|
||||
:label="`${
|
||||
$i18n.locales.find(({ code }) => code == $i18n.locale).country
|
||||
| formatCountry
|
||||
} ${$i18n.locales.find(({ code }) => code == $i18n.locale).name}`"
|
||||
/>
|
||||
</template>
|
||||
@@ -24,7 +23,7 @@
|
||||
)"
|
||||
:key="locale.code"
|
||||
:to="switchLocalePath(locale.code).toString()"
|
||||
:label="`${locale.country | formatCountry} ${locale.name}`"
|
||||
:label="`${locale.country} ${locale.name}`"
|
||||
/>
|
||||
</tippy>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user