grouped settings/managed drafts support added
This commit is contained in:
parent
6992439c92
commit
c7a16bdfe2
6 changed files with 96 additions and 8 deletions
14
src/components/settings_modal/helpers/group_setting.js
Normal file
14
src/components/settings_modal/helpers/group_setting.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { isEqual } from 'lodash'
|
||||
|
||||
import Setting from './setting.js'
|
||||
|
||||
export default {
|
||||
...Setting,
|
||||
computed: {
|
||||
...Setting.computed,
|
||||
isDirty () {
|
||||
console.log(this.state, this.draft)
|
||||
return !isEqual(this.state, this.draft)
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue