Merge pull request #813 from dod-ccpo/clin-total-not-updating

Fix issue with CLIN changes not updating funding total
This commit is contained in:
George Drummond 2019-05-10 14:43:19 -04:00 committed by GitHub
commit 26efc77561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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