#68 - finish notification class. Content notification on validate brief working
This commit is contained in:
parent
3fb043210e
commit
fa36c9ef4a
12 changed files with 246 additions and 24 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue