ActivityPub-federated video streaming platform using P2P directly in your web browser
import { booleanAttribute, Component, inject, input, ChangeDetectionStrategy } from '@angular/core'
import { ServerService } from '@app/core'
@Component({
selector: 'my-signup-label',
templateUrl: './signup-label.component.html',
changeDetection: ChangeDetectionStrategy.Eager,
imports: []
})
export class SignupLabelComponent {
private server = inject(ServerService)
readonly requiresApproval = input<boolean, unknown>(undefined, { transform: booleanAttribute })
readonly withInstanceName = input(false, { transform: booleanAttribute })
get instanceName () {
return this.server.getHTMLConfig().instance.name
}
}