Modal for each environment role
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user