Clean Popup (#236)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2021-10-06 14:36:08 +02:00
committed by GitHub
parent d2262bbb16
commit 5ef57b2907
2 changed files with 4 additions and 6 deletions
@@ -14,7 +14,7 @@
-->
<script lang="ts">
import type { IntlString } from '@anticrm/platform'
import { afterUpdate, createEventDispatcher } from 'svelte'
import { createEventDispatcher } from 'svelte'
import { Label, EditWithIcon, IconSearch } from '@anticrm/ui'
import UserInfo from './UserInfo.svelte'
@@ -34,8 +34,6 @@
const dispatch = createEventDispatcher()
const query = createQuery()
$: query.query(_class, { name: { $like: '%'+search+'%' } }, result => { objects = result })
afterUpdate(() => { dispatch('update', true) })
</script>
<div class="popup" style="max-height: {(maxHeight) ? maxHeight + 'px' : 'max-content'}">