fix settings for users without profiles
This commit is contained in:
parent
5c078aee81
commit
0945b83375
1 changed files with 3 additions and 3 deletions
|
@ -311,12 +311,12 @@
|
||||||
:src="getMediaItemArtwork(chrome.hideUserInfo ? 'http://localhost:9000/assets/logocut.png' : (chrome.userinfo.attributes['artwork'] ? chrome.userinfo.attributes['artwork']['url'] : ''), 26)"/>
|
:src="getMediaItemArtwork(chrome.hideUserInfo ? 'http://localhost:9000/assets/logocut.png' : (chrome.userinfo.attributes['artwork'] ? chrome.userinfo.attributes['artwork']['url'] : ''), 26)"/>
|
||||||
|
|
||||||
<div class="sidebar-user-text" v-if="!chrome.hideUserInfo">
|
<div class="sidebar-user-text" v-if="!chrome.hideUserInfo">
|
||||||
<template v-if="chrome.userinfo.id">
|
<template v-if="chrome.userinfo.id || mk.isAuthorized">
|
||||||
<div class="fullname text-overflow-elipsis">{{ chrome.userinfo.attributes.name
|
<div class="fullname text-overflow-elipsis">{{ (chrome.userinfo != null && chrome.userinfo.attributes != null) ? (chrome.userinfo.attributes.name ?? "") : ""
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div class="handle-text text-overflow-elipsis">{{
|
<div class="handle-text text-overflow-elipsis">{{
|
||||||
chrome.userinfo.attributes.handle
|
(chrome.userinfo != null && chrome.userinfo.attributes != null) ? (chrome.userinfo.attributes.handle ?? "") : ""
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue