Remove extra lookups (#963)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov
2022-02-08 10:05:33 +01:00
committed by GitHub
parent 16686010b0
commit aa8519d02a
7 changed files with 16 additions and 27 deletions
@@ -47,9 +47,8 @@
<div class="step-lr75"><CommentsPresenter value={object} /></div>
{/if}
</div>
{#if object.$lookup}
<!-- object.$lookup?.assignee?.avatar -->
<Avatar avatar={undefined} size={'x-small'} />
{#if object.$lookup?.assignee}
<Avatar avatar={object.$lookup?.assignee?.avatar} size={'x-small'} />
{/if}
</div>
</div>