mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
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:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user