@if (state() === "loading") {

{{ "status.loading" | t }}

} @if (state() === "error") {

{{ "status.apiUnreachable" | t }}

{{ "ops.loadError" | t }}

} @if (state() === "ok") {

{{ "ops.reg.formTitle" | t }}

@if (snapshots().length === 0) {

{{ "ops.reg.noSnapshots" | t }}

} @else {
@if (needsReference()) {
@if ( compareForm.controls.referenceId.invalid && compareForm.controls.referenceId.touched ) { }
}
}
@if (selected(); as snap) {

{{ "ops.reg.vsHistory" | t }}

{{ "ops.reg.vsHistoryHint" | t }}

@if (!snap.job_id) {

{{ "ops.reg.noJobId" | t }}

} @else { @if (historyState() === "loading") {

{{ "status.loading" | t }}

} @if (historyState() === "error") { } @if (historyState() === "ok") { } }

{{ "ops.cmp.title" | t }}

@if (compareState() === "idle") {

{{ "ops.reg.runFirst" | t }}

} @if (compareState() === "loading") {

{{ "ops.cmp.running" | t }}

} @if (compareState() === "error") { } @if (compareState() === "ok" && compareResult(); as res) { }
} }