Skip to content

Commit

Permalink
Add skeleton to inventory
Browse files Browse the repository at this point in the history
See #56
  • Loading branch information
thokra-nav committed Apr 22, 2024
1 parent 0fb0c5c commit 729c148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/components/TeamStatus.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { PendingValue, graphql } from '$houdini';
import Nais from '$lib/icons/Nais.svelte';
import { Skeleton } from '@nais/ds-svelte-community';
import { ExclamationmarkTriangleFillIcon } from '@nais/ds-svelte-community/icons';
import type { TeamStatusVariables } from './$houdini';
Expand Down Expand Up @@ -86,6 +87,9 @@
</p>
{/if}
<!-- TODO: Team status NAIS icon -->
{:else if team && team.id === PendingValue}
<Skeleton variant="text" width="100px" />
<Skeleton variant="text" width="120px" />
{/if}

<style>
Expand Down

0 comments on commit 729c148

Please sign in to comment.