Kibana version: v8.4.1
Elasticsearch version: v8.4.1
Server OS version: Elastic Cloud hosted
Browser version: Mozilla Firefox v104.0.2 (also happens with Google Chrome)
Browser OS version: N/A
Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud installation
Describe the bug: A shared data view "Saved Objects" view shows space avatars for spaces that don't have one, making the UI appear a bit broken.
Steps to reproduce:
- Create two spaces
- Add an avatar image for the first space while keeping the later space without one
- Share a data view between these two spaces
- Go to "Saved Objects" view
Expected behavior: The avatar image would only be displayed for the space that has an image
Screenshots (if relevant):

Errors in browser console (if relevant): N/A
Provide logs and/or server output (if relevant): N/A
Any additional context: It seems that the <div class="euiAvatar ...> elements erroneusly have the background-image set for those spaces which should not have one, as per this screenshot from Google Chrome element inspector view:

By the way, sharing a data view between different spaces is awesome!
Kibana version: v8.4.1
Elasticsearch version: v8.4.1
Server OS version: Elastic Cloud hosted
Browser version: Mozilla Firefox v104.0.2 (also happens with Google Chrome)
Browser OS version: N/A
Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud installation
Describe the bug: A shared data view "Saved Objects" view shows space avatars for spaces that don't have one, making the UI appear a bit broken.
Steps to reproduce:
Expected behavior: The avatar image would only be displayed for the space that has an image
Screenshots (if relevant):
Errors in browser console (if relevant): N/A
Provide logs and/or server output (if relevant): N/A
Any additional context: It seems that the
<div class="euiAvatar ...>elements erroneusly have thebackground-imageset for those spaces which should not have one, as per this screenshot from Google Chrome element inspector view:By the way, sharing a data view between different spaces is awesome!