Merged in bugfix/PMCORE-2620 (pull request #7684)

PMCORE-2620

Approved-by: Henry Jonathan Quispe Quispe <jonathan.quispe@processmaker.com>
This commit is contained in:
Rodrigo Quelca
2020-12-23 20:13:52 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,7 @@
>
</div>
<button class="btn btn-success btn-sm" @click="onClickComment">
<button class="btn btn-success btn-sm" @click="onClickComment" :disabled="data.noPerms === 1">
{{ $t("ID_SEND") }}
</button>
</div>

View File

@@ -377,6 +377,7 @@ export default {
.casenotes(this.dataCase)
.then((response) => {
that.formatResponseCaseNotes(response.data.notes);
that.dataComments.noPerms = response.data.noPerms || 0;
})
.catch((err) => {
throw new Error(err);