mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 11:47:42 +02:00
TSK-879: Fix empty assignee selection (#2774)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -32,6 +32,12 @@
|
||||
export let showTooltip: LabelAndProps | undefined = undefined
|
||||
export let enlargedText = false
|
||||
export let element: HTMLElement | undefined = undefined
|
||||
|
||||
const onEditClick = (evt: MouseEvent) => {
|
||||
if (isInteractive) {
|
||||
onEdit?.(evt)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if value}
|
||||
@@ -62,7 +68,8 @@
|
||||
</span>
|
||||
{/if}
|
||||
{:else if shouldShowPlaceholder}
|
||||
<span use:tooltip={showTooltip} class="contentPresenter" class:text-base={enlargedText}>
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<span use:tooltip={showTooltip} on:click={onEditClick} class="contentPresenter" class:text-base={enlargedText}>
|
||||
{#if shouldShowAvatar}
|
||||
<span
|
||||
class="eContentPresenterIcon"
|
||||
|
||||
Reference in New Issue
Block a user