project -> application everywhere
This commit is contained in:
26
js/components/forms/edit_application_roles.js
Normal file
26
js/components/forms/edit_application_roles.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import FormMixin from '../../mixins/form'
|
||||
import Modal from '../../mixins/modal'
|
||||
import toggler from '../toggler'
|
||||
import EditEnvironmentRole from './edit_environment_role'
|
||||
|
||||
export default {
|
||||
name: 'edit-application-roles',
|
||||
|
||||
mixins: [FormMixin, Modal],
|
||||
|
||||
components: {
|
||||
toggler,
|
||||
EditEnvironmentRole,
|
||||
},
|
||||
|
||||
props: {
|
||||
name: String,
|
||||
id: String
|
||||
},
|
||||
|
||||
methods: {
|
||||
doRevoke: function () {
|
||||
this.$root.$emit('revoke-' + this.id)
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user