diff --git a/components/detail-disclosure.vue b/components/detail-disclosure.vue
index eae46cd..7adcfe3 100644
--- a/components/detail-disclosure.vue
+++ b/components/detail-disclosure.vue
@@ -1,10 +1,11 @@
- Loading...
+
+
+
+
+
diff --git a/pages/detail/function/[id].vue b/pages/detail/function/[id].vue
index 7e75db5..3cae26d 100644
--- a/pages/detail/function/[id].vue
+++ b/pages/detail/function/[id].vue
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/vue-query";
import DetailPage from "@/components/detail-page.vue";
import Timeline from "@/components/timeline.vue";
+import Loader from "@/components/ui/loader.vue";
import { loadAndGroupRelations } from "@/lib/group-relations.ts";
import type { TimelineObject } from "@/types/timeline";
@@ -53,13 +54,17 @@ const flattenedRelations = computed(() => {
)
.flat()
.filter((r): r is TimelineObject => Boolean(r.start_date))
- .sort((r) => new Date(r.start_date ?? "").valueOf());
+ .sort((r) => new Date(String(r.start_date)).valueOf());
return res;
});
- Loading...
+
+
+
+
+
diff --git a/pages/detail/institution/[id].vue b/pages/detail/institution/[id].vue
index af5c0e8..f3b09d7 100644
--- a/pages/detail/institution/[id].vue
+++ b/pages/detail/institution/[id].vue
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/vue-query";
import DetailPage from "@/components/detail-page.vue";
import Timeline from "@/components/timeline.vue";
+import Loader from "@/components/ui/loader.vue";
import { loadAndGroupRelations } from "@/lib/group-relations.ts";
import type { TimelineObject } from "@/types/timeline";
@@ -53,13 +54,17 @@ const flattenedRelations = computed(() => {
)
.flat()
.filter((r): r is TimelineObject => Boolean(r.start_date))
- .sort((r) => new Date(r.start_date ?? "").valueOf());
+ .sort((r) => new Date(String(r.start_date)).valueOf());
return res;
});
- Loading...
+
+
+
+
+
diff --git a/pages/detail/person/[id].vue b/pages/detail/person/[id].vue
index c35529d..80a1bce 100644
--- a/pages/detail/person/[id].vue
+++ b/pages/detail/person/[id].vue
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/vue-query";
import DetailPage from "@/components/detail-page.vue";
import Timeline from "@/components/timeline.vue";
+import Loader from "@/components/ui/loader.vue";
import { loadAndGroupRelations } from "@/lib/group-relations.ts";
import type { TimelineObject } from "@/types/timeline";
@@ -53,13 +54,17 @@ const flattenedRelations = computed(() => {
)
.flat()
.filter((r): r is TimelineObject => Boolean(r.start_date))
- .sort((r) => new Date(r.start_date ?? "").valueOf());
+ .sort((r) => new Date(String(r.start_date)).valueOf());
return res;
});
- Loading...
+
+
+
+
+
diff --git a/pages/detail/place/[id].vue b/pages/detail/place/[id].vue
index 31b18df..ef337d4 100644
--- a/pages/detail/place/[id].vue
+++ b/pages/detail/place/[id].vue
@@ -4,6 +4,7 @@ import { useQuery } from "@tanstack/vue-query";
import DetailPage from "@/components/detail-page.vue";
import Map from "@/components/map.vue";
import Timeline from "@/components/timeline.vue";
+import Loader from "@/components/ui/loader.vue";
import { loadAndGroupRelations } from "@/lib/group-relations.ts";
import type { TimelineObject } from "@/types/timeline";
@@ -54,13 +55,17 @@ const flattenedRelations = computed(() => {
)
.flat()
.filter((r): r is TimelineObject => Boolean(r.start_date))
- .sort((r) => new Date(r.start_date ?? "").valueOf());
+ .sort((r) => new Date(String(r.start_date)).valueOf());
return res;
});
- Loading...
+
+
+
+
+
diff --git a/pages/detail/salary/[id].vue b/pages/detail/salary/[id].vue
index 5a5542d..c1d3036 100644
--- a/pages/detail/salary/[id].vue
+++ b/pages/detail/salary/[id].vue
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/vue-query";
import DetailPage from "@/components/detail-page.vue";
import Timeline from "@/components/timeline.vue";
+import Loader from "@/components/ui/loader.vue";
import { loadAndGroupRelations } from "@/lib/group-relations.ts";
import type { TimelineObject } from "@/types/timeline";
@@ -42,13 +43,17 @@ const flattenedRelations = computed(() => {
)
.flat()
.filter((r): r is TimelineObject => Boolean(r.start_date))
- .sort((r) => new Date(r.start_date ?? "").valueOf());
+ .sort((r) => new Date(String(r.start_date)).valueOf());
return res;
});
- Loading...
+
+
+
+
+