Update
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
import { createBubbler, preventDefault } from 'svelte/legacy';
|
||||
|
||||
const bubble = createBubbler();
|
||||
import {astroI18n, t} from "astro-i18n";
|
||||
import {CheckSolid, FileOutline, FolderOutline, XCircleOutline} from "flowbite-svelte-icons";
|
||||
import type {Schematic} from "@type/schem.ts";
|
||||
@@ -27,11 +30,15 @@
|
||||
|
||||
dayjs.extend(utc);
|
||||
|
||||
export let schem: Schematic;
|
||||
export let players: Record<number, Player>;
|
||||
interface Props {
|
||||
schem: Schematic;
|
||||
players: Record<number, Player>;
|
||||
}
|
||||
|
||||
let { schem, players }: Props = $props();
|
||||
</script>
|
||||
|
||||
<tr on:click|preventDefault>
|
||||
<tr onclick={preventDefault(bubble('click'))}>
|
||||
<th>
|
||||
{#if schem.type == null}
|
||||
<FolderOutline />
|
||||
|
||||
Reference in New Issue
Block a user