Merge branch 'notifications'
This commit is contained in:
commit
caf6f721fb
34 changed files with 671 additions and 417 deletions
|
|
@ -36,6 +36,11 @@ const draftComment = ref(null);
|
|||
|
||||
const isViewerDisabled = ref(false);
|
||||
|
||||
watch(openedFile, () => {
|
||||
removeCommentMarkers();
|
||||
setCommentMarkers();
|
||||
});
|
||||
|
||||
watch(isCommentsOpen, (newVal) => {
|
||||
if (newVal) {
|
||||
setCommentMarkers();
|
||||
|
|
@ -45,6 +50,8 @@ watch(isCommentsOpen, (newVal) => {
|
|||
});
|
||||
|
||||
watch(openedFile, (newVal) => {
|
||||
if (!location.href.includes("virtual-sample")) return;
|
||||
|
||||
isViewerDisabled.value = true;
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
|
|
@ -223,7 +223,6 @@ function getFrontView(track) {
|
|||
const extension = track.files[0].name.split(".")[1];
|
||||
const frontViewName = "0_" + xFrontView + "." + extension;
|
||||
const frontView = track.files.find((file) => file.name === frontViewName);
|
||||
console.log(frontView);
|
||||
return frontView;
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue