change title
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, onUnmounted, ref } from "vue"
|
||||
import { timeUntil } from "../services/time-until"
|
||||
import { useTitle } from "@vueuse/core"
|
||||
|
||||
const props = defineProps<{ project?: string; target?: string }>()
|
||||
|
||||
if (props.project) {
|
||||
useTitle(props.project)
|
||||
}
|
||||
|
||||
const targetDate = computed(() =>
|
||||
props.target
|
||||
? new Date(props.target).toLocaleDateString(undefined, {
|
||||
|
||||
Reference in New Issue
Block a user