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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue