This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
studio/src/app/pages/core/app-settings Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -792,14 +792,23 @@ export class AppHome {
792792 onIonInput = { ( $event : CustomEvent < KeyboardEvent > ) => this . handleSocialInput ( $event , 'custom' ) } > </ ion-input >
793793 </ ion-item > ,
794794
795+ this . renderCustomLogo ( ) ,
796+ ] ;
797+ }
798+
799+ private renderCustomLogo ( ) {
800+ return [
795801 < p class = "ion-margin-top" >
796802 < small > A logo for this custom address</ small >
797803 </ p > ,
798804 < div class = "avatar" >
799805 { this . user && this . user . data && this . user . data . social && this . user . data . social . custom_logo_url ? (
800- < app-avatar src = { this . user . data . social . custom_logo_url } aria-label = "Custom logo" > </ app-avatar >
806+ < deckgo-lazy-img slot = "icon" img- src= { this . user . data . social . custom_logo_url } aria-label = "Custom logo" > </ deckgo-lazy-img >
801807 ) : (
802- < deckgo-lazy-img slot = "icon" svg-src = { `${ this . config . globalAssetsUrl } /icons/ionicons/globe.svg` } aria-label = "Web" > </ deckgo-lazy-img >
808+ < deckgo-lazy-img
809+ slot = "icon"
810+ svg-src = { `${ this . config . globalAssetsUrl } /icons/ionicons/globe.svg` }
811+ aria-label = "Custom logo image placeholder" > </ deckgo-lazy-img >
803812 ) }
804813 < input
805814 id = "inputCustomLogo"
You can’t perform that action at this time.
0 commit comments