Prettier format all js files

This commit is contained in:
George Drummond
2019-01-24 09:38:43 -05:00
parent 20604e6ca9
commit 619bc9fe59
32 changed files with 553 additions and 443 deletions

View File

@@ -17,32 +17,32 @@ export default {
props: {
initialData: {
type: Object,
default: () => ({})
}
default: () => ({}),
},
},
data: function () {
const {
funding_type = ""
} = this.initialData
data: function() {
const { funding_type = '' } = this.initialData
return {
funding_type,
shouldForceShowTaskOrder: false
shouldForceShowTaskOrder: false,
}
},
computed: {
showTaskOrderUpload: function() {
return !this.initialData.legacy_task_order.pdf || this.shouldForceShowTaskOrder
}
return (
!this.initialData.legacy_task_order.pdf || this.shouldForceShowTaskOrder
)
},
},
methods: {
forceShowTaskOrderUpload: function(e) {
console.log("forceShowTaskOrder", e)
console.log('forceShowTaskOrder', e)
e.preventDefault()
this.shouldForceShowTaskOrder = true
}
}
},
},
}