validate when displaying modal in mobile mode (#831)
* validate mode movil * minimal changes * hide Tabs Children * Undo Commit Co-authored-by: elsiosanchez <elsiossanches@gmail.com>pull/3759/head
parent
9fd0270f0e
commit
03eb8949c6
|
@ -91,6 +91,9 @@ export default {
|
||||||
return this.$store.getters.getAttributeEmbedded
|
return this.$store.getters.getAttributeEmbedded
|
||||||
},
|
},
|
||||||
isVisibleDialog() {
|
isVisibleDialog() {
|
||||||
|
if (this.isMobile) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
return this.$store.state['process/index'].isVisibleDialog
|
return this.$store.state['process/index'].isVisibleDialog
|
||||||
},
|
},
|
||||||
modalMetadata() {
|
modalMetadata() {
|
||||||
|
@ -103,6 +106,9 @@ export default {
|
||||||
return this.$store.getters.getDataRecordAndSelection(this.containerUuid)
|
return this.$store.getters.getDataRecordAndSelection(this.containerUuid)
|
||||||
},
|
},
|
||||||
showRecordAccess() {
|
showRecordAccess() {
|
||||||
|
if (this.isMobile) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
return this.$store.getters.getShowRecordAccess
|
return this.$store.getters.getShowRecordAccess
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -655,7 +655,16 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.timeOut = setTimeout(() => {
|
this.timeOut = setTimeout(() => {
|
||||||
this.showPopoverPath = true
|
if (this.isMobile && this.optionColumnName === this.field.columnName) {
|
||||||
|
this.$store.commit('changeShowRigthPanel', true)
|
||||||
|
this.$store.dispatch('setOptionField', {
|
||||||
|
fieldAttributes: this.fieldAttributes,
|
||||||
|
name: this.$route.query.typeAction,
|
||||||
|
valueField: this.valueField
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.showPopoverPath = true
|
||||||
|
}
|
||||||
}, 2000)
|
}, 2000)
|
||||||
// assined field with prop
|
// assined field with prop
|
||||||
this.field = this.metadataField
|
this.field = this.metadataField
|
||||||
|
|
Loading…
Reference in New Issue