diff --git a/web/package.json b/web/package.json index fd25aa4..21c0ee3 100644 --- a/web/package.json +++ b/web/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --host 0.0.0.0", "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview" diff --git a/web/src/state/Root.ts b/web/src/state/Root.ts index 8675283..5fec56a 100644 --- a/web/src/state/Root.ts +++ b/web/src/state/Root.ts @@ -9,7 +9,7 @@ export class Root { public resources: ResourceSet = new ResourceSet(); 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 numberNotation: Notation = Presets.Standard;