mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08: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:
parent
e4356283a8
commit
4cbb05b001
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<div :class="$style.container" v-if="!loading">
|
||||
<div :class="$style.container">
|
||||
<executions-sidebar
|
||||
:executions="executions"
|
||||
:loading="loading"
|
||||
:loading="loading && !executions.length"
|
||||
:loadingMore="loadingMore"
|
||||
:temporaryExecution="temporaryExecution"
|
||||
@reloadExecutions="setExecutions"
|
||||
|
|
|
@ -26,11 +26,11 @@
|
|||
@scroll="loadMore(20)"
|
||||
>
|
||||
<div v-if="loading" class="mr-m">
|
||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
||||
<n8n-loading :class="$style.loader" variant="p" :rows="1" />
|
||||
<n8n-loading variant="p" :rows="1" />
|
||||
<n8n-loading variant="p" :rows="1" />
|
||||
<n8n-loading variant="p" :rows="1" />
|
||||
</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">
|
||||
{{ $locale.baseText('executionsLandingPage.noResults') }}
|
||||
</n8n-text>
|
||||
|
@ -54,7 +54,7 @@
|
|||
@retryExecution="onRetryExecution"
|
||||
/>
|
||||
<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 :class="$style.infoAccordion">
|
||||
|
|
Loading…
Reference in a new issue