mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
* fix Tor logs actually fetching od logs * chore: update to Angular 18 * chore: update to Angular 19 * bump patchDB * chore: update Angular * chore: fix setup-wizard success page * chore: fix * chore: fix * chore: fix * chore: fix --------- Co-authored-by: Matt Hill <mattnine@protonmail.com> Co-authored-by: Aiden McClelland <me@drbonez.dev>
26 lines
806 B
TypeScript
26 lines
806 B
TypeScript
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
import { TuiIcon, TuiTitle } from '@taiga-ui/core'
|
|
import { StoreIconComponentModule } from './store-icon/store-icon.component.module'
|
|
|
|
@Component({
|
|
selector: '[registry]',
|
|
template: `
|
|
<store-icon [url]="registry.url" size="40px" />
|
|
<div tuiTitle>
|
|
{{ registry.name }}
|
|
<div tuiSubtitle>{{ registry.url }}</div>
|
|
</div>
|
|
@if (registry.selected) {
|
|
<tui-icon icon="@tui.check" [style.color]="'var(--tui-text-positive)'" />
|
|
} @else {
|
|
<ng-content />
|
|
}
|
|
`,
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
imports: [StoreIconComponentModule, TuiIcon, TuiTitle],
|
|
})
|
|
export class MarketplaceRegistryComponent {
|
|
@Input()
|
|
registry!: { url: string; selected: boolean; name: string }
|
|
}
|