refactor(editor): Unify Callout components (#3798)

*  Implemented a single Callout component

* ✔️ Updating test snapshots and fixing lint warnings
This commit is contained in:
Milorad FIlipović
2022-08-02 10:36:11 +02:00
committed by GitHub
parent 0ecbb4a19d
commit ad8d662976
13 changed files with 320 additions and 566 deletions

View File

@@ -10,15 +10,15 @@
@click="openInstallModal"
/>
</div>
<n8n-action-box
v-if="isQueueModeEnabled"
:heading="$locale.baseText('settings.communityNodes.empty.title')"
:description="getEmptyStateDescription"
:calloutText="actionBoxConfig.calloutText"
:calloutTheme="actionBoxConfig.calloutTheme"
@click="openInstallModal"
@descriptionClick="onDescriptionTextClick"
/>
<div v-if="isQueueModeEnabled" :class="$style.actionBoxContainer">
<n8n-action-box
:heading="$locale.baseText('settings.communityNodes.empty.title')"
:description="getEmptyStateDescription"
:calloutText="actionBoxConfig.calloutText"
:calloutTheme="actionBoxConfig.calloutTheme"
@descriptionClick="onDescriptionTextClick"
/>
</div>
<div
:class="$style.cardsContainer"
v-else-if="loading"