make route input/output a select list of module id's

This commit is contained in:
Joel Wetzell
2026-02-13 20:34:28 -06:00
parent b416c9254b
commit 7a3b447ed3
4 changed files with 28 additions and 10 deletions
+8
View File
@@ -28,6 +28,14 @@ export class ConfigComponent {
modules = computed(() => this.config()?.modules ?? []);
routes = computed(() => this.config()?.routes ?? []);
moduleIds = computed(() => {
const config = this.config();
if (config !== undefined && config.modules !== undefined) {
return config.modules.map((module) => module.id!) ?? [];
}
return [];
});
public schemaService = inject(SchemaService);
private snackBar = inject(MatSnackBar);