1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-24 16:36:46 +00:00
bramw_baserow/web-frontend/modules/builder/mixins/containerElement.js
2024-03-26 11:53:32 +00:00

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
},
},
}