This commit is contained in:
2026-05-06 21:43:13 +03:00
parent 8b3a3964a5
commit 93a16ee916
23 changed files with 148 additions and 387 deletions
@@ -1,21 +1,13 @@
<script>
import {previewTitle} from "./Preview";
import {getContext} from "svelte";
import { getContext } from "svelte";
const channel = getContext("channel");
export let record;
export let graph;
$: schema = channel.schemas.find((aschema) => aschema.name === record.schema);
$: title = previewTitle(channel.schemas, record, graph);
$: title = record.data.name;
</script>
{#if record?.data}
<a
href="{channel.lucentUrl}/records/{record.id}"
{title}
class="reference"
>
<a href="{channel.lucentUrl}/records/{record.id}" {title} class="reference">
{title}
</a>
{/if}