mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-24 16:36:46 +00:00
24 lines
474 B
JavaScript
24 lines
474 B
JavaScript
export default {
|
|
inject: { injectedApplicationContext: { from: 'applicationContext' } },
|
|
provide() {
|
|
return {
|
|
applicationContext: this.applicationContext,
|
|
}
|
|
},
|
|
props: {
|
|
applicationContextAdditions: {
|
|
type: Object,
|
|
required: false,
|
|
default: undefined,
|
|
},
|
|
},
|
|
computed: {
|
|
applicationContext() {
|
|
return {
|
|
...this.injectedApplicationContext,
|
|
...this.applicationContextAdditions,
|
|
}
|
|
},
|
|
},
|
|
}
|