ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix broken image in instance subscription
Chocobozzzacb1ea2befe6
diff --git a/client/src/app/+about/about-follows/subscription-image.component.html b/client/src/app/+about/about-follows/subscription-image.component.htmlindex 49b7388cac..c7b9b0acfa 100644--- a/client/src/app/+about/about-follows/subscription-image.component.html+++ b/client/src/app/+about/about-follows/subscription-image.component.html@@ -1,5 +1,5 @@<div class="root" aria-hidden="true">- <img [src]="avatarUrl" alt="">+ <img *ngIf="avatarUrl" [src]="avatarUrl" alt=""><svg width="125" height="129" viewBox="0 0 125 129" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M43.4996 129L18.9946 27.2709L36.8651 13.7961L124.924 67.6037L43.4996 129Z"diff --git a/client/src/app/+about/about-follows/subscription-image.component.ts b/client/src/app/+about/about-follows/subscription-image.component.tsindex e5a99279c6..412413110b 100644--- a/client/src/app/+about/about-follows/subscription-image.component.ts+++ b/client/src/app/+about/about-follows/subscription-image.component.ts@@ -1,3 +1,4 @@+import { CommonModule } from '@angular/common'import { Component, OnInit, inject } from '@angular/core'import { ServerService } from '@app/core'import { Actor } from '@app/shared/shared-main/account/actor.model'@@ -6,7 +7,8 @@ import { Actor } from '@app/shared/shared-main/account/actor.model'selector: 'my-subscription-image',templateUrl: './subscription-image.component.html',styleUrls: [ './subscription-image.component.scss' ],- standalone: true+ standalone: true,+ imports: [ CommonModule ]})export class SubscriptionImageComponent implements OnInit {private server = inject(ServerService)