mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 04:35:58 +00:00
Merge branch 'master' into redis
This commit is contained in:
commit
2202ae5aab
@ -15,19 +15,18 @@
|
|||||||
import WidgetsInnerContainer from './WidgetsInnerContainer.svelte';
|
import WidgetsInnerContainer from './WidgetsInnerContainer.svelte';
|
||||||
|
|
||||||
$: favorites = useFavorites();
|
$: favorites = useFavorites();
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<WidgetColumnBar>
|
<WidgetColumnBar>
|
||||||
|
<WidgetColumnBarItem title="Saved files" name="files" height="70%" storageName="savedFilesWidget">
|
||||||
|
<SavedFilesList />
|
||||||
|
</WidgetColumnBarItem>
|
||||||
|
|
||||||
{#if hasPermission('files/favorites/read')}
|
{#if hasPermission('files/favorites/read')}
|
||||||
<WidgetColumnBarItem title="Favorites" name="favorites" height="20%" storageName="favoritesWidget">
|
<WidgetColumnBarItem title="Favorites" name="favorites" storageName="favoritesWidget">
|
||||||
<WidgetsInnerContainer>
|
<WidgetsInnerContainer>
|
||||||
<AppObjectList list={$favorites || []} module={favoriteFileAppObject} />
|
<AppObjectList list={$favorites || []} module={favoriteFileAppObject} />
|
||||||
</WidgetsInnerContainer>
|
</WidgetsInnerContainer>
|
||||||
</WidgetColumnBarItem>
|
</WidgetColumnBarItem>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<WidgetColumnBarItem title="Saved files" name="files" storageName="savedFilesWidget">
|
|
||||||
<SavedFilesList />
|
|
||||||
</WidgetColumnBarItem>
|
|
||||||
</WidgetColumnBar>
|
</WidgetColumnBar>
|
||||||
|
Loading…
Reference in New Issue
Block a user