From 51a3b810e3fa81df15d0e87c70fff0b7fd914007 Mon Sep 17 00:00:00 2001 From: Jules BOURDAIS Date: Wed, 17 Apr 2024 18:15:41 +0200 Subject: [PATCH] fix: compatibility & syntax --- client/dive-common/store/context.ts | 1 + client/platform/desktop/frontend/components/ImportDialog.vue | 2 +- client/src/components/track_3d_viewer/misc.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/dive-common/store/context.ts b/client/dive-common/store/context.ts index 241ba5b90..818e8e00a 100644 --- a/client/dive-common/store/context.ts +++ b/client/dive-common/store/context.ts @@ -52,6 +52,7 @@ const componentMap: Record = { [AttributeTrackFilters.name]: { description: 'Attribute Track Filters', component: AttributeTrackFilters, + }, [TrackViewerSettings.name]: { description: 'Track Viewer Settings', component: TrackViewerSettings, diff --git a/client/platform/desktop/frontend/components/ImportDialog.vue b/client/platform/desktop/frontend/components/ImportDialog.vue index bf09cdb27..1dd6d8231 100644 --- a/client/platform/desktop/frontend/components/ImportDialog.vue +++ b/client/platform/desktop/frontend/components/ImportDialog.vue @@ -11,7 +11,7 @@ import { locateDuplicates } from 'platform/desktop/frontend/store/dataset'; import { useApi } from 'dive-common/apispec'; import Vue from 'vue'; import { clientSettings } from 'dive-common/store/settings'; -import { Attribute } from 'vue-media-annotator/use/useAttributes'; +import { Attribute } from 'vue-media-annotator/use/AttributeTypes'; export default defineComponent({ diff --git a/client/src/components/track_3d_viewer/misc.ts b/client/src/components/track_3d_viewer/misc.ts index 339c416d6..262e75f20 100644 --- a/client/src/components/track_3d_viewer/misc.ts +++ b/client/src/components/track_3d_viewer/misc.ts @@ -1,4 +1,4 @@ -import { Attribute } from 'vue-media-annotator/use/useAttributes'; +import { Attribute } from 'vue-media-annotator/use/AttributeTypes'; const EXPECTED_ATTRIBUTE_NAMES = [ 'stereo3d_x',