1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-04 13:15:24 +00:00

Merge branch 'improve-new-element-modal-loading-state' into 'develop'

Improve the 'new element' modal loading state.

See merge request 
This commit is contained in:
Peter Evans 2025-03-17 16:38:47 +00:00
commit 45f5b00e7c

View file

@ -6,14 +6,14 @@
:class="{ 'add-element-card--disabled': disabled }"
v-on="$listeners"
>
<div v-if="loading" class="loading"></div>
<div v-else class="add-element-card__element-type">
<div class="add-element-card__element-type">
<div
class="add-element-card__element-type-icon"
:class="`add-element-card__element-type-icon-${elementType.getType()}`"
></div>
</div>
<span class="add-element-card__label">{{ elementType.name }}</span>
<div v-if="loading" class="loading"></div>
<span v-else class="add-element-card__label">{{ elementType.name }}</span>
</div>
</template>