parent
82dec26729
commit
3c7d3e2669
|
@ -337,7 +337,7 @@ export default {
|
||||||
return currentRecord
|
return currentRecord
|
||||||
},
|
},
|
||||||
isDocumentTab() {
|
isDocumentTab() {
|
||||||
const panel = this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
const panel = this.isEmptyValue(this.windowMetadata.currentTabUuid) ? '' : this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
||||||
if (!this.isEmptyValue(panel)) {
|
if (!this.isEmptyValue(panel)) {
|
||||||
return panel.isDocument
|
return panel.isDocument
|
||||||
}
|
}
|
||||||
|
@ -345,7 +345,7 @@ export default {
|
||||||
return this.windowMetadata.firstTab.isDocument
|
return this.windowMetadata.firstTab.isDocument
|
||||||
},
|
},
|
||||||
isWorkflowBarStatus() {
|
isWorkflowBarStatus() {
|
||||||
const panel = this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
const panel = this.isEmptyValue(this.windowMetadata.currentTabUuid) ? '' : this.$store.getters.getPanel(this.windowMetadata.currentTabUuid)
|
||||||
if (!this.isEmptyValue(panel) && this.isDocumentTab && !this.isNewRecord) {
|
if (!this.isEmptyValue(panel) && this.isDocumentTab && !this.isNewRecord) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue