We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87528c3 commit e08fc25Copy full SHA for e08fc25
src/utils/crud/mixins/child.js
@@ -72,21 +72,21 @@ export default {
72
this.createChildDialog(this.childItemName)
73
},
74
suspend (id) {
75
+ let obj = {}
76
+ obj[this.activeColumnName] = 0
77
this.updateChild([
78
id,
- {
- active: 0
79
- },
+ obj,
80
this.$t('global.alerts.suspended'),
81
this.path
82
])
83
84
restore (id) {
85
86
+ obj[this.activeColumnName] = 1
87
88
- active: 1
89
90
this.$t('global.alerts.restored'),
91
92
0 commit comments