grouped settings/managed drafts support added

This commit is contained in:
Henry Jameson 2023-03-22 12:43:53 +02:00
commit c7a16bdfe2
6 changed files with 96 additions and 8 deletions

View 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)
}
}
}