app/frontend/editor/components/kit/submit-button.vue in maglevcms-1.1.7 vs app/frontend/editor/components/kit/submit-button.vue in maglevcms-1.2.0
- old
+ new
@@ -6,20 +6,20 @@
@click="click"
>
<span v-if="isDefaultState" data-button-label>{{ defaultLabel }}</span>
<span v-if="isInProgressState" class="flex items-center justify-center">
- <icon icon="circle-notch" name="ri-loader-4-line" spin color="#fff" />
+ <icon name="ri-loader-4-line" spin color="#fff" key="progress" />
<span class="ml-2" data-button-label>{{ inProgressLabel }}</span>
</span>
<span v-if="isSuccessState" class="flex items-center justify-center">
- <icon icon="circle-notch" name="check-line" color="#fff" />
+ <icon name="ri-check-line" color="#fff" key="success" />
<span class="ml-2" data-button-label>{{ successLabel }}</span>
</span>
<span v-if="isFailState" class="flex items-center justify-center">
- <icon icon="circle-notch" name="ri-alert-line" color="#fff" />
+ <icon name="ri-alert-line" color="#fff" key="fail" />
<span class="ml-2" data-button-label>{{ failLabel }}</span>
</span>
</button>
</template>