feat: enable switch instance button in tauri builds
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701>
This commit is contained in:
parent
5bf6e23815
commit
62f84a311b
|
@ -103,6 +103,8 @@ watch(locale, (locale) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
const isProduction = import.meta.env.PROD
|
const isProduction = import.meta.env.PROD
|
||||||
|
const isTauri = 'TAURI_ENV_PLATFORM' in import.meta.env
|
||||||
|
|
||||||
const showUserModal = ref(false)
|
const showUserModal = ref(false)
|
||||||
const showThemeModal = ref(false)
|
const showThemeModal = ref(false)
|
||||||
|
|
||||||
|
@ -535,7 +537,7 @@ onMounted(() => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="!isProduction"
|
v-if="!isProduction || isTauri"
|
||||||
class="item"
|
class="item"
|
||||||
>
|
>
|
||||||
<router-link
|
<router-link
|
||||||
|
|
Loading…
Reference in New Issue