fix builder field button bg color

This commit is contained in:
Alex Turchyn
2023-08-28 23:43:33 +03:00
parent d3a5f36555
commit 08447ec4cf
4 changed files with 19 additions and 2 deletions
+2 -1
View File
@@ -30,6 +30,7 @@
:key="type"
draggable="true"
class="flex items-center justify-center border border-dashed border-base-300 w-full rounded relative"
:style="{ backgroundColor: backgroundColor }"
@dragstart="onDragstart(type)"
@dragend="$emit('drag-end')"
@click="addField(type)"
@@ -101,7 +102,7 @@ export default {
Field,
FieldSubmitter
},
inject: ['save'],
inject: ['save', 'backgroundColor'],
props: {
fields: {
type: Array,