add builder editable prop

This commit is contained in:
DocuSeal
2023-11-04 01:19:32 +02:00
parent 2d24eac4a3
commit c0e49ebeea
10 changed files with 95 additions and 15 deletions
+9 -1
View File
@@ -12,7 +12,10 @@
class="group flex justify-end cursor-pointer top-0 bottom-0 left-0 right-0 absolute p-1"
@click="$emit('scroll-to', item)"
>
<div class="flex justify-between w-full">
<div
v-if="editable"
class="flex justify-between w-full"
>
<div style="width: 26px" />
<div class="">
<ReplaceButton
@@ -95,6 +98,11 @@ export default {
type: Object,
required: true
},
editable: {
type: Boolean,
required: false,
default: true
},
acceptFileTypes: {
type: String,
required: false,