Update Angular (#2952)

* 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>
This commit is contained in:
Alex Inkin
2025-05-30 21:34:24 +07:00
committed by GitHub
parent 05b8dd9ad8
commit 02413a4fac
257 changed files with 5921 additions and 9539 deletions

View File

@@ -8,7 +8,7 @@ import {
Validators,
} from '@angular/forms'
import { IST, utils } from '@start9labs/start-sdk'
const Mustache = require('mustache')
import Mustache from 'mustache'
@Injectable({
providedIn: 'root',
@@ -365,14 +365,8 @@ export function listUnique(spec: IST.ValueSpecList): ValidatorFn {
: ''
if (isListObject(objSpec) && objSpec.displayAs) {
display1 = `"${(Mustache as any).render(
objSpec.displayAs,
list[idx],
)}"`
display2 = `"${(Mustache as any).render(
objSpec.displayAs,
list[idx2],
)}"`
display1 = `"${Mustache.render(objSpec.displayAs, list[idx])}"`
display2 = `"${Mustache.render(objSpec.displayAs, list[idx2])}"`
} else {
display1 = `Entry ${idx + 1}`
display2 = `Entry ${idx2 + 1}`