#68 - create comment create working (notification to adapt)

This commit is contained in:
isUnknown 2024-12-18 16:26:55 +01:00
parent 3d4ddc12fc
commit cf83edc1e6
11 changed files with 106 additions and 158 deletions

View file

@ -178,7 +178,7 @@ function handleSubmit(event = null) {
}
const date = dayjs().format();
const newComment = {
path: route.fullPath,
dialogUri: route.fullPath,
fileName: openedFile ? openedFile.value.name : false,
userUuid: user.uuid,
text: draftComment.value.text,

View file

@ -45,6 +45,8 @@ watch(isCommentsOpen, (newVal) => {
});
watch(openedFile, (newVal) => {
if (!location.href.includes("virtual-sample")) return;
isViewerDisabled.value = true;
setTimeout(() => {

View file

@ -9,7 +9,11 @@
>
<span id="back-to-project">Retour au projet</span>
</router-link>
<button class="btn | ml-auto" @click="validate">
<button
class="btn | ml-auto"
@click="validate"
v-if="page.content.isvalidated != 'true'"
>
Valider et envoyer le brief
</button>
</header>