aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/helpers/group_setting.js
blob: 12a4900072c4f9cb391af96acbe9e6359c0e3ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
    }
  }
}