Allow roles to be revoked many times

This commit is contained in:
richard-dds
2018-10-23 16:55:56 -04:00
parent 783b47b2f7
commit cd9ae2c928
3 changed files with 23 additions and 7 deletions

View File

@@ -18,6 +18,15 @@ export default {
},
data: function() {
return { revoke: false }
return { revoke: false }
},
methods: {
doRevoke: function () {
// This is being used to send an event to the edit-environment-role child component.
// We'll toggle this back on the next line so that it can be used again.
this.revoke = true
setTimeout(() => { this.revoke = false }, 25)
}
}
}