mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
83725dd349
commit
4fa043b7e5
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user