mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Switching between two form additions is clean
This commit is contained in:
parent
bb703f9fa8
commit
d13b341bae
@ -213,6 +213,10 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
rowDetailsToogle(row, details) {
|
rowDetailsToogle(row, details) {
|
||||||
|
if (this.showCreationFormular === false) {
|
||||||
|
this.showCreationFormular = true
|
||||||
|
return
|
||||||
|
}
|
||||||
if (details) {
|
if (details) {
|
||||||
row.toggleDetails()
|
row.toggleDetails()
|
||||||
this.showCreationFormular = null
|
this.showCreationFormular = null
|
||||||
@ -233,11 +237,10 @@ export default {
|
|||||||
}
|
}
|
||||||
if (details) {
|
if (details) {
|
||||||
row.toggleDetails()
|
row.toggleDetails()
|
||||||
this.showCreationFormular === null
|
this.showCreationFormular = null
|
||||||
}
|
}
|
||||||
if (!details) {
|
if (!details) {
|
||||||
row.toggleDetails()
|
row.toggleDetails()
|
||||||
this.showCreationFormular === false
|
|
||||||
if (this.$refs.showing_registermail_detals_true !== undefined) {
|
if (this.$refs.showing_registermail_detals_true !== undefined) {
|
||||||
this.$refs.showing_registermail_detals_true.click()
|
this.$refs.showing_registermail_detals_true.click()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user