mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 11:34:58 +02:00
@@ -62,7 +62,7 @@
|
||||
} from '@hcengineering/ui'
|
||||
import view from '@hcengineering/view'
|
||||
import { ObjectBox } from '@hcengineering/view-resources'
|
||||
import { createEventDispatcher, afterUpdate } from 'svelte'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import { activeProject, activeSprint, updateIssueRelation } from '../issues'
|
||||
import tracker from '../plugin'
|
||||
import AssigneeEditor from './issues/AssigneeEditor.svelte'
|
||||
@@ -638,8 +638,6 @@
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
afterUpdate(() => dispatch('changeContent'))
|
||||
</script>
|
||||
|
||||
<Card
|
||||
@@ -650,6 +648,7 @@
|
||||
on:close={() => dispatch('close')}
|
||||
createMore={false}
|
||||
onCancel={showConfirmationDialog}
|
||||
on:changeContent
|
||||
>
|
||||
<svelte:fragment slot="header">
|
||||
<div class="flex-row-center">
|
||||
@@ -707,7 +706,7 @@
|
||||
maxHeight={'20vh'}
|
||||
bind:content={object.description}
|
||||
placeholder={tracker.string.IssueDescriptionPlaceholder}
|
||||
on:changeContent
|
||||
on:changeSize={() => dispatch('changeContent')}
|
||||
/>
|
||||
{/key}
|
||||
<IssueTemplateChilds
|
||||
@@ -716,7 +715,6 @@
|
||||
project={object.project}
|
||||
isScrollable
|
||||
maxHeight={'20vh'}
|
||||
on:changeContent
|
||||
/>
|
||||
<svelte:fragment slot="pool">
|
||||
<div class="flex flex-wrap" style:gap={'0.2vw'}>
|
||||
|
||||
@@ -5,14 +5,11 @@
|
||||
import { createQuery, getClient, ObjectSearchPopup, ObjectSearchResult } from '@hcengineering/presentation'
|
||||
import { Issue } from '@hcengineering/tracker'
|
||||
import { Action, closePopup, Menu, showPopup } from '@hcengineering/ui'
|
||||
import { afterUpdate, createEventDispatcher } from 'svelte'
|
||||
import { updateIssueRelation } from '../issues'
|
||||
import tracker from '../plugin'
|
||||
|
||||
export let value: Issue
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
const client = getClient()
|
||||
const query = createQuery()
|
||||
$: relations = {
|
||||
@@ -126,10 +123,8 @@
|
||||
},
|
||||
...(hasRelation ? removeRelationAction : [])
|
||||
]
|
||||
|
||||
afterUpdate(() => dispatch('changeContent'))
|
||||
</script>
|
||||
|
||||
{#if actions}
|
||||
<Menu {actions} on:changeContent={() => dispatch('changeContent')} />
|
||||
<Menu {actions} on:changeContent />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user