@structured-field/widget-editor 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7747,13 +7747,16 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
7747
7747
  createVNode(_component_SfIcon, { name: "arrow-up" })
7748
7748
  ], 8 /* PROPS */, _hoisted_12))
7749
7749
  : createCommentVNode("v-if", true),
7750
- createBaseVNode("button", {
7751
- type: "button",
7752
- class: "sf-btn sf-btn-sm",
7753
- onClick: $event => ($options.moveItem(index, 1))
7754
- }, [
7755
- createVNode(_component_SfIcon, { name: "arrow-down" })
7756
- ], 8 /* PROPS */, _hoisted_13),
7750
+ (index < $data.items.length - 1)
7751
+ ? (openBlock(), createElementBlock("button", {
7752
+ key: 1,
7753
+ type: "button",
7754
+ class: "sf-btn sf-btn-sm",
7755
+ onClick: $event => ($options.moveItem(index, 1))
7756
+ }, [
7757
+ createVNode(_component_SfIcon, { name: "arrow-down" })
7758
+ ], 8 /* PROPS */, _hoisted_13))
7759
+ : createCommentVNode("v-if", true),
7757
7760
  createBaseVNode("button", {
7758
7761
  type: "button",
7759
7762
  class: "sf-btn sf-btn-sm sf-btn-danger",