virtual sample : disable compare mode on dialog close
This commit is contained in:
parent
76b67e4756
commit
21714e1808
1 changed files with 4 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ const {
|
|||
step,
|
||||
isLoopAnimationEnabled,
|
||||
isDownloadTriggered,
|
||||
isCompareModeEnabled,
|
||||
} = storeToRefs(useVirtualSampleStore());
|
||||
|
||||
const { isCommentsOpen, isCommentPanelEnabled, activeTracks, openedFile } =
|
||||
|
|
@ -132,6 +133,9 @@ watch(isOpen, (newValue) => {
|
|||
router.push({ name: route.name });
|
||||
openedFile.value = null;
|
||||
activeTracks.value = [];
|
||||
if (!newValue) {
|
||||
isCompareModeEnabled.value = false;
|
||||
}
|
||||
});
|
||||
|
||||
const downloadText = computed(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue