mirror of
https://github.com/Fabio286/mizar.git
synced 2025-06-05 16:59:47 +02:00
feat: settings modal to change locale
This commit is contained in:
@ -30,11 +30,21 @@
|
||||
</transition>
|
||||
</div>
|
||||
</nav>
|
||||
<div
|
||||
class="navSettings"
|
||||
:title="t('word.settings')"
|
||||
@click="isSettingModal=true"
|
||||
>
|
||||
<i class="material-icons">settings</i>
|
||||
</div>
|
||||
<ModalSettings v-if="isSettingModal" @hide-settings="isSettingModal=false" />
|
||||
</header>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import ModalSettings from './ModalSettings.vue';
|
||||
|
||||
defineProps({
|
||||
selTab: Number,
|
||||
@ -42,6 +52,8 @@ defineProps({
|
||||
serverStatus: Number
|
||||
});
|
||||
|
||||
const isSettingModal = ref(false);
|
||||
|
||||
const emit = defineEmits(['selectTab']);
|
||||
|
||||
const { t } = useI18n();
|
||||
|
Reference in New Issue
Block a user