#68 - create comment create working (notification to adapt)
This commit is contained in:
parent
3d4ddc12fc
commit
cf83edc1e6
11 changed files with 106 additions and 158 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ watch(isCommentsOpen, (newVal) => {
|
|||
});
|
||||
|
||||
watch(openedFile, (newVal) => {
|
||||
if (!location.href.includes("virtual-sample")) return;
|
||||
|
||||
isViewerDisabled.value = true;
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue