# Bug OP-18663 - WP search dropdown: wp created by deleted user has a weird layout with missing avatar

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18663

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Search, Frontend components and Primer design system |
| Target versions | 17.8.0 |
| Observed in versions | 17.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Behrokh Satarnejad |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### 

### Steps to reproduce

1.  Login and open a work package

2.  Go to Relations tab

3.  Click on "+ relation"

4.  Search for a work package that was created by a deleted user (such as this one <https://qa.openproject-stage.com/projects/new-project/work\_packages/96/activity>)

### What is the buggy behavior?

  - This work package doesn't have a user avatar, which causes a weird layout

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918247/content">

### What is the expected behavior?

1.  Either show the same avatar for deleted users as on the work package form or make the layout better so that the work package title and project title don't overlap

### 

### Environment information

**OpenProject version**

*17.0*
