minor fixes

This commit is contained in:
azykov@mail.ru 2026-02-13 16:14:11 +03:00
parent a89f9b8141
commit 9d605b3772
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite --host 0.0.0.0",
"build": "tsc -b && vite build", "build": "tsc -b && vite build",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview" "preview": "vite preview"

View File

@ -9,7 +9,7 @@ export class Root {
public resources: ResourceSet = new ResourceSet(); public resources: ResourceSet = new ResourceSet();
public generators: ResourceGenerator[] = []; public generators: ResourceGenerator[] = [];
public readonly availableNotationNames: string[] = Object.keys(Presets).filter((n: any) => !!(Presets as any)[n].name); public readonly availableNotationNames: string[] = Object.keys(Presets).filter((n: any) => !!(Presets as any)[n].name).sort();
public numberNotationName: keyof typeof Presets = 'Standard'; public numberNotationName: keyof typeof Presets = 'Standard';
public numberNotation: Notation = Presets.Standard; public numberNotation: Notation = Presets.Standard;