mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-24 16:36:46 +00:00
24 lines
501 B
JavaScript
24 lines
501 B
JavaScript
import element from '@baserow/modules/builder/mixins/element'
|
|
import { mapGetters } from 'vuex'
|
|
import { PLACEMENTS } from '@baserow/modules/builder/enums'
|
|
|
|
export default {
|
|
mixins: [element],
|
|
props: {
|
|
children: {
|
|
type: Array,
|
|
required: false,
|
|
default: () => [],
|
|
},
|
|
},
|
|
computed: {
|
|
...mapGetters({
|
|
elementSelected: 'element/getSelected',
|
|
}),
|
|
PLACEMENTS: () => PLACEMENTS,
|
|
elementSelectedId() {
|
|
return this.elementSelected?.id
|
|
},
|
|
},
|
|
}
|