mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: clickable list small fixes
This commit is contained in:
1 parent
94ed716f89
commit
3cf82e4fc1
2 files changed
+14
-7
No files matched your search
@@ -4,11 +4,15 @@
|
||||
|
||||
<li class="clickable-list-item">
|
||||
<a {href} class="clickable-list-button" on:click>
|
||||
<h5 class="clickable-list-title u-trim-1">
|
||||
<slot />
|
||||
</h5>
|
||||
<div class="clickable-list-desc">
|
||||
<p class="text u-margin-block-start-8"><slot name="desc" /></p>
|
||||
</div>
|
||||
{#if $$slots.default}
|
||||
<h5 class="clickable-list-title u-trim-1">
|
||||
<slot />
|
||||
</h5>
|
||||
{/if}
|
||||
{#if $$slots.desc}
|
||||
<div class="clickable-list-desc">
|
||||
<p class="text u-margin-block-start-8"><slot name="desc" /></p>
|
||||
</div>
|
||||
{/if}
|
||||
</a>
|
||||
</li>
|
||||
+4
-1
@@ -12,7 +12,10 @@
|
||||
const databaseId = $page.params.database;
|
||||
const limit = 10;
|
||||
|
||||
$: args = preferences.getDisplayNames()?.[selectedRelationship?.relatedCollection] ?? [];
|
||||
$: args =
|
||||
preferences
|
||||
.getDisplayNames()
|
||||
?.[selectedRelationship?.relatedCollection]?.filter((p) => p !== '$id') ?? [];
|
||||
|
||||
$: if (!show) {
|
||||
data = null;
|
||||
|
||||
Reference in new issue
Block a user