reply comment on 360 working

This commit is contained in:
isUnknown 2024-12-20 12:36:21 +01:00
parent d727f1a1af
commit f790653fcf
8 changed files with 38 additions and 18 deletions

View file

@ -53,7 +53,9 @@ import Interactive360 from "./Interactive360.vue";
import { useDialogStore } from "../../../stores/dialog";
const { page } = storeToRefs(usePageStore());
const { isCommentsOpen, isCommentPanelEnabled } = storeToRefs(useDialogStore());
const { isCommentsOpen, isCommentPanelEnabled, activeTracks } = storeToRefs(
useDialogStore()
);
const tracks = computed(
() =>
@ -75,7 +77,7 @@ watch(isCompareModeEnabled, (newValue) => {
}
});
const activeTracks = ref([tracks.value[0]]);
activeTracks.value = [tracks.value[0]];
function getFrontViewUrl(track) {
if (track.files.length > 1) {