merge
This commit is contained in:
parent
cca389f1b0
commit
7764f4651c
17 changed files with 40 additions and 47 deletions
|
|
@ -65,13 +65,6 @@
|
|||
>
|
||||
<span class="sr-only">Afficher les commentaires</span>
|
||||
</button>
|
||||
<Comments
|
||||
v-if="isCommentsOpen"
|
||||
:current-page-index="currentPageIndex"
|
||||
:file="file"
|
||||
:comments="file.comments"
|
||||
@update:file="changeFile"
|
||||
/>
|
||||
</template>
|
||||
</Dialog>
|
||||
</template>
|
||||
|
|
@ -82,21 +75,18 @@ import Dialog from "primevue/dialog";
|
|||
import DynamicView from "./DynamicView.vue";
|
||||
import StaticView from "./StaticView.vue";
|
||||
import { ref } from "vue";
|
||||
import { useDialogStore } from "../../../stores/dialog";
|
||||
import { useVirtualSampleStore } from "../../../stores/virtualSample";
|
||||
import { usePageStore } from "../../../stores/page";
|
||||
import { useDialogStore } from "../../../stores/dialog";
|
||||
|
||||
const { file } = defineProps({
|
||||
file: Object,
|
||||
});
|
||||
|
||||
const { page } = usePageStore();
|
||||
const { comments } = storeToRefs(useDialogStore());
|
||||
const { activeTab, currentFile, step } = storeToRefs(useVirtualSampleStore());
|
||||
const { isCommentsOpen } = storeToRefs(useDialogStore());
|
||||
|
||||
// Variables
|
||||
const isOpen = ref(true);
|
||||
const isCommentsOpen = ref(false);
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue