fix: relationship modal

This commit is contained in:
Arman
2023-03-30 12:20:21 +02:00
parent 40644fc909
commit eca33a1ba4
2 changed files with 2 additions and 3 deletions
@@ -2,7 +2,6 @@
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Modal, PaginationInline } from '$lib/components';
import { Button } from '$lib/elements/forms';
import { TableCell, TableList, TableRowLink } from '$lib/elements/table';
import { teamPrefs } from '$lib/stores/team';
import type { Models } from '@appwrite.io/console';
@@ -31,7 +30,8 @@
{#each data as doc, i}
{#if i >= offset && i < offset + limit}
<TableRowLink
href={`${base}/console/project-${projectId}/databases/database-${databaseId}/collection-${selectedRelationship.relatedCollection}`}>
href={`${base}/console/project-${projectId}/databases/database-${databaseId}/collection-${selectedRelationship.relatedCollection}`}
on:click={() => (show = false)}>
<TableCell title={doc.$id}>
<div class="u-flex u-gap-8">
{#each args as arg, i}
@@ -5,7 +5,6 @@
import { tooltip } from '$lib/actions/tooltip';
import { Copy } from '$lib/components';
import { Pill } from '$lib/elements';
import { Button } from '$lib/elements/forms';
import {
TableBody,
TableCell,