feat: only show one shard's popup at a time

This commit is contained in:
spiral 2022-01-23 03:46:54 -05:00
parent 762ac7c7c4
commit 400918c349
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
2 changed files with 6 additions and 4 deletions

View file

@ -2,6 +2,8 @@
import { Container } from 'sveltestrap';
import ShardItem from '../lib/shard.svelte';
let hover = null;
let message = "Loading...";
let shards = [];
let pingAverage = "";
@ -115,6 +117,6 @@
<span>{ message }</span>
{#each shards as shard}
<ShardItem shard={shard} />
<ShardItem shard={shard} bind:hover={hover} />
{/each}
</Container>