diff --git a/packages/presentation/src/components/Card.svelte b/packages/presentation/src/components/Card.svelte index db362b4f59..0fa060cc43 100644 --- a/packages/presentation/src/components/Card.svelte +++ b/packages/presentation/src/components/Card.svelte @@ -18,7 +18,7 @@ import type { IntlString } from '@anticrm/platform' import { createEventDispatcher } from 'svelte' - import type { Ref, Class, Space } from '@anticrm/core' + import type { Ref, Class, Space, DocumentQuery } from '@anticrm/core' import { Button, Label } from '@anticrm/ui' import SpaceSelect from './SpaceSelect.svelte' @@ -26,6 +26,7 @@ export let spaceClass: Ref> | undefined = undefined export let space: Ref + export let spaceQuery: DocumentQuery | undefined = { archived: false } export let spaceLabel: IntlString | undefined = undefined export let spacePlaceholder: IntlString | undefined = undefined export let label: IntlString @@ -52,7 +53,7 @@ {#if spaceClass && spaceLabel && spacePlaceholder}
- +
{/if}