mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Loading state for executions tab (#6100)
* fix(editor): Loading state for executions tab * fix(editor): do not show no result if loading
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :class="$style.container" v-if="!loading">
|
<div :class="$style.container">
|
||||||
<executions-sidebar
|
<executions-sidebar
|
||||||
:executions="executions"
|
:executions="executions"
|
||||||
:loading="loading"
|
:loading="loading && !executions.length"
|
||||||
:loadingMore="loadingMore"
|
:loadingMore="loadingMore"
|
||||||
:temporaryExecution="temporaryExecution"
|
:temporaryExecution="temporaryExecution"
|
||||||
@reloadExecutions="setExecutions"
|
@reloadExecutions="setExecutions"
|
||||||
|
|||||||
@@ -26,11 +26,11 @@
|
|||||||
@scroll="loadMore(20)"
|
@scroll="loadMore(20)"
|
||||||
>
|
>
|
||||||
<div v-if="loading" class="mr-m">
|
<div v-if="loading" class="mr-m">
|
||||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
<n8n-loading variant="p" :rows="1" />
|
||||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
<n8n-loading variant="p" :rows="1" />
|
||||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
<n8n-loading variant="p" :rows="1" />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="executions.length === 0" :class="$style.noResultsContainer">
|
<div v-if="!loading && executions.length === 0" :class="$style.noResultsContainer">
|
||||||
<n8n-text color="text-base" size="medium" align="center">
|
<n8n-text color="text-base" size="medium" align="center">
|
||||||
{{ $locale.baseText('executionsLandingPage.noResults') }}
|
{{ $locale.baseText('executionsLandingPage.noResults') }}
|
||||||
</n8n-text>
|
</n8n-text>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
@retryExecution="onRetryExecution"
|
@retryExecution="onRetryExecution"
|
||||||
/>
|
/>
|
||||||
<div v-if="loadingMore" class="mr-m">
|
<div v-if="loadingMore" class="mr-m">
|
||||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
<n8n-loading variant="p" :rows="1" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div :class="$style.infoAccordion">
|
<div :class="$style.infoAccordion">
|
||||||
|
|||||||
Reference in New Issue
Block a user