who knows
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import Icon from "../common/Icon.svelte";
|
||||
|
||||
import {getContext, createEventDispatcher} from "svelte";
|
||||
import {previewTitle} from "./Preview";
|
||||
import {previewEdgeTitle, previewTitle} from "./Preview";
|
||||
import Status from "./Status.svelte";
|
||||
import Preview from "../newPreview/Preview.svelte";
|
||||
import EdgeData from "./form/references/EdgeData.svelte";
|
||||
@@ -39,7 +39,8 @@
|
||||
style="border-color:{schema.color ?? '#ccc'}; border-width: 1px;"
|
||||
>
|
||||
<div class="card-body">
|
||||
Edge Data
|
||||
<span class="text-muted d-block">Relation Data</span>
|
||||
{previewEdgeTitle(edge)}
|
||||
<div class="position-absolute d-flex end-0" style="top:5px">
|
||||
<button
|
||||
class="trash-button text-dark btn btn-sm btn-link"
|
||||
@@ -59,26 +60,7 @@
|
||||
style="border-color:{schema.color ?? '#ccc'}; border-width: 1px;"
|
||||
>
|
||||
<div class="card-body">
|
||||
|
||||
<Preview {record} type="card"/>
|
||||
|
||||
<!-- <div class="overflow-hidden">-->
|
||||
<!-- <a-->
|
||||
<!-- class="title-link m-0 fs-5 text-decoration-none text-dark d-block"-->
|
||||
<!-- href="{channel.lucentUrl}/records/{record.id}"-->
|
||||
<!-- title={cardTitle}-->
|
||||
<!-- >-->
|
||||
<!-- {cardTitle}-->
|
||||
<!-- </a>-->
|
||||
<!-- <small class="text-muted">-->
|
||||
<!-- {schema.label}-->
|
||||
<!-- </small>-->
|
||||
<!-- <small class="text-muted">-->
|
||||
<!-- {#if record.status === "draft"}-->
|
||||
<!-- <Status status={record.status} />-->
|
||||
<!-- {/if}-->
|
||||
<!-- </small>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
|
||||
{#if hasDelete}
|
||||
|
||||
Reference in New Issue
Block a user