Fixed error with call service for list document statuses when a record is new (#430)

pull/3759/head
Yamel Senih 2020-04-02 23:21:57 -04:00 committed by GitHub
parent 8779ff2441
commit 80f62e6fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ export default {
return groupsList
},
setTagsViewTitle(actionValue) {
if (this.getterPanel.isDocument && this.getterDataStore.isLoaded) {
if (actionValue !== 'create-new' && !this.isEmptyValue(actionValue) && this.getterPanel.isDocument && this.getterDataStore.isLoaded) {
this.$store.dispatch('listWorkflows', this.metadata.tableName)
this.$store.dispatch('listDocumentStatus', {
recordUuid: this.$route.query.action,