|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div v-if="props.client.oneTimeLink" class="text-xs text-gray-400"> |
|
|
<div v-if="client.oneTimeLink !== null" class="text-xs text-gray-400"> |
|
|
<a :href="'./cnf/' + props.client.oneTimeLink.oneTimeLink">{{ path }}</a> |
|
|
<a :href="'./cnf/' + client.oneTimeLink.oneTimeLink">{{ path }}</a> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -8,14 +8,13 @@ |
|
|
const props = defineProps<{ client: LocalClient }>(); |
|
|
const props = defineProps<{ client: LocalClient }>(); |
|
|
|
|
|
|
|
|
const path = ref('Loading...'); |
|
|
const path = ref('Loading...'); |
|
|
|
|
|
|
|
|
const timer = ref<NodeJS.Timeout | null>(null); |
|
|
const timer = ref<NodeJS.Timeout | null>(null); |
|
|
|
|
|
|
|
|
const { localeProperties } = useI18n(); |
|
|
const { localeProperties } = useI18n(); |
|
|
|
|
|
|
|
|
onMounted(() => { |
|
|
onMounted(() => { |
|
|
timer.value = setIntervalImmediately(() => { |
|
|
timer.value = setIntervalImmediately(() => { |
|
|
if (!props.client.oneTimeLink) { |
|
|
if (props.client.oneTimeLink === null) { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|