Modal for each environment role

This commit is contained in:
Montana
2018-09-14 11:56:43 -04:00
parent 5a5d81eb7f
commit c0bb9e1024
3 changed files with 49 additions and 47 deletions

View File

@@ -1,23 +1,23 @@
export default {
methods: {
closeModal: function(name) {
this.modals[name] = false
this.activeModal = null
this.$emit('modalOpen', false)
},
openModal: function (name) {
this.modals[name] = true
this.activeModal = name
this.$emit('modalOpen', true)
}
},
data: function() {
return {
modals: {
styleguideModal: false,
rolesModal: false,
newProjectConfirmation: false,
pendingFinancialVerification: false,
pendingCCPOApproval: false,
}
styleguidemodal: false,
newprojectconfirmation: false,
pendingfinancialverification: false,
pendingccpoapproval: false,
},
activeModal: null,
}
}
}