This commit is contained in:
Jan Prochazka 2022-11-10 11:06:40 +01:00
parent 83725dd349
commit 4fa043b7e5

View File

@ -1,5 +1,6 @@
<script lang="ts">
import _ from 'lodash';
import ErrorInfo from '../elements/ErrorInfo.svelte';
import SearchBoxWrapper from '../elements/SearchBoxWrapper.svelte';
import SearchInput from '../elements/SearchInput.svelte';
@ -21,5 +22,9 @@
<SearchInput placeholder="Search extensions on web" {filter} bind:value={filter} />
</SearchBoxWrapper>
<WidgetsInnerContainer>
<PluginsList plugins={$plugins} />
{#if $plugins?.errorMessage}
<ErrorInfo message={$plugins?.errorMessage} />
{:else}
<PluginsList plugins={$plugins} />
{/if}
</WidgetsInnerContainer>