mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-07-30 15:39:06 +02:00
Allow Profile Imports to App, Map Sharing, iframe improvements (#102)
* update identiyf page * support non-ALPRs on Idenfity page * show pending devices, even w/o tags * update lprBaseTags * detect iframe instead of passing query string * implement share dialog * clean up identify * finishing touches for identify page
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ import { useDiscordIntercept } from '@/composables/useDiscordIntercept';
|
||||
const theme = useTheme();
|
||||
const router = useRouter();
|
||||
const isDark = computed(() => theme.name.value === 'dark');
|
||||
const isFullscreen = computed(() => router.currentRoute.value?.query.fullscreen === 'true');
|
||||
const isInIframe = computed(() => window.self !== window.top);
|
||||
const { showDialog, discordUrl, interceptDiscordLinks } = useDiscordIntercept();
|
||||
|
||||
function toggleTheme() {
|
||||
@@ -70,7 +70,7 @@ watch(() => theme.global.name.value, (newTheme) => {
|
||||
|
||||
<template>
|
||||
<v-app>
|
||||
<template v-if="!isFullscreen">
|
||||
<template v-if="!isInIframe">
|
||||
<v-app-bar
|
||||
flat
|
||||
prominent
|
||||
|
||||
Reference in New Issue
Block a user