1
0

chore: convert ShowTasks component to script setup and ts

This commit is contained in:
kolaente
2022-02-06 16:04:49 +01:00
parent 6c0d091e36
commit bcd34efe91
2 changed files with 158 additions and 172 deletions

View File

@ -1,4 +1,4 @@
export function parseDateOrString(rawValue: string, fallback: any) {
export function parseDateOrString(rawValue: string, fallback: any): string | Date {
if (typeof rawValue === 'undefined') {
return fallback
}