mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
fix: use correct property to generate icon URL
This commit is contained in:
parent
b1bc1328eb
commit
86b2b35462
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ export class Claim extends HTMLElement {
|
|||
root.querySelector('.info .subtitle').innerText = claimJson.display.serviceProviderName ??
|
||||
(claim.status < 300 ? '???' : '---');
|
||||
root.querySelector('.info img').setAttribute('src',
|
||||
`https://design.keyoxide.org/brands/service-providers/${claimJson.display.serviceProviderName
|
||||
? claimJson.display.serviceProviderName.toLowerCase() : '_'}/icon.svg`);
|
||||
`https://design.keyoxide.org/brands/service-providers/${claimJson.display.serviceProviderId
|
||||
? claimJson.display.serviceProviderId : '_'}/icon.svg`);
|
||||
|
||||
try {
|
||||
if (claim.status >= 200) {
|
||||
|
|
Loading…
Reference in a new issue