#68 - finish notification class. Content notification on validate brief working

This commit is contained in:
isUnknown 2024-12-18 13:56:21 +01:00
parent 3fb043210e
commit fa36c9ef4a
12 changed files with 246 additions and 24 deletions

View file

@ -9,11 +9,7 @@
>
<span id="back-to-project">Retour au projet</span>
</router-link>
<button
class="btn | ml-auto"
@click="validate"
v-if="page.content.isvalidated != 'true'"
>
<button class="btn | ml-auto" @click="validate">
Valider et envoyer le brief
</button>
</header>
@ -58,7 +54,8 @@ function setInitialStep() {
function validate() {
api.validateBrief(page.value.uri).then((res) => {
location.href = "/" + page.value.parent;
console.log(res);
// location.href = "/" + page.value.parent;
});
}
</script>