Show correct icon url in openid login view
This commit is contained in:
@@ -7,6 +7,10 @@ defineProps({
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
iconUrl: {
|
||||
type: String,
|
||||
default: `${API_ORIGIN}/api/v1/cloudron/avatar`,
|
||||
},
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -15,12 +19,12 @@ defineProps({
|
||||
<div class="public-page-layout">
|
||||
<div class="public-page-layout-root">
|
||||
<div class="public-page-layout-left pankow-no-mobile" :style="{ 'background-image': `url('${API_ORIGIN}/api/v1/cloudron/background')` }">
|
||||
<img class="cloudron-avatar" width="128" height="128" :src="`${API_ORIGIN}/api/v1/cloudron/avatar`"/>
|
||||
<img class="cloudron-avatar" width="128" height="128" :src="iconUrl"/>
|
||||
</div>
|
||||
|
||||
<div class="public-page-layout-right">
|
||||
<div class="public-page-layout-mobile-logo">
|
||||
<img class="cloudron-avatar" width="128" height="128" :src="`${API_ORIGIN}/api/v1/cloudron/avatar`"/>
|
||||
<img class="cloudron-avatar" width="128" height="128" :src="iconUrl"/>
|
||||
</div>
|
||||
<div class="public-page-layout-right-slot">
|
||||
<slot></slot>
|
||||
|
||||
Reference in New Issue
Block a user