dynamic view > compare mode : disable comment
This commit is contained in:
parent
b4be010af7
commit
f74c818ffc
3 changed files with 16 additions and 2 deletions
|
|
@ -21,6 +21,7 @@ export const useDialogStore = defineStore("dialog", () => {
|
|||
}
|
||||
|
||||
const route = useRoute();
|
||||
const isCommentPanelEnabled = ref(true);
|
||||
const isCommentsOpen = ref(
|
||||
route.query.hasOwnProperty("comments") ? true : false
|
||||
);
|
||||
|
|
@ -133,6 +134,7 @@ export const useDialogStore = defineStore("dialog", () => {
|
|||
comments,
|
||||
draftComment,
|
||||
isCommentsOpen,
|
||||
isCommentPanelEnabled,
|
||||
updateFile,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue