add nova
This commit is contained in:
14
nova/resources/js/mixins/BehavesAsPanel.js
Normal file
14
nova/resources/js/mixins/BehavesAsPanel.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
emits: ['actionExecuted'],
|
||||
|
||||
props: ['resourceName', 'resourceId', 'resource', 'panel'],
|
||||
|
||||
methods: {
|
||||
/**
|
||||
* Handle the actionExecuted event and pass it up the chain.
|
||||
*/
|
||||
actionExecuted() {
|
||||
this.$emit('actionExecuted')
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user