mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
show preloader (#623)
This commit is contained in:
parent
8ac8e20c9c
commit
6f4725d21c
2 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tea",
|
||||
"version": "0.2.17",
|
||||
"version": "0.2.18",
|
||||
"private": true,
|
||||
"description": "tea gui app",
|
||||
"author": "tea.xyz",
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
import "$appcss";
|
||||
import { t } from "$libs/translations";
|
||||
|
||||
import Spinner from "@tea/ui/spinner/spinner.svelte";
|
||||
import { page } from "$app/stores";
|
||||
// import PageHeader from '$components/page-header/page-header.svelte';
|
||||
import PackageBanner from "$components/package-banner/package-banner.svelte";
|
||||
|
@ -84,6 +85,11 @@
|
|||
|
||||
<section class="mt-8 flex gap-8">
|
||||
<div class="w-2/3">
|
||||
{#if tabs.length === 0}
|
||||
<div class="flex w-full justify-center py-20">
|
||||
<Spinner />
|
||||
</div>
|
||||
{/if}
|
||||
<Tabs {tabs} defaultTab={$t("common.details")} />
|
||||
</div>
|
||||
<div class="w-1/3">
|
||||
|
|
Loading…
Reference in a new issue