Fix issue with CLIN changes not updating funding total

This commit is contained in:
George Drummond 2019-05-10 13:15:09 -04:00
parent 2435f91b13
commit 951ef9212d
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17

View File

@ -13,10 +13,11 @@ export default {
methods: {
handleFieldChange: function(event) {
const { name, valid, parent_uid } = event
if (typeof this[name] !== undefined) {
const { value, name, valid, parent_uid, watch } = event
if (typeof this.fields[name] !== undefined) {
this[name] = value
this.fields[name] = valid
if (event['parent_uid'] === this._uid || event['watch']) {
if (parent_uid === this._uid || watch) {
this.changed = true
}
}