improvement: all confirmed suggestions implemented

This commit is contained in:
2026-09-04 17:04:48 +03:30
parent 7f92e735fb
commit 72f885d9dd
23 changed files with 1070 additions and 679 deletions

View File

@@ -16,7 +16,6 @@ export type ProsthesisTypeCatalogEntry = {
subcategory: string;
chartRegion: string;
stackGroup: string;
addonKind: string;
};
type CatalogRow = {
@@ -25,7 +24,6 @@ type CatalogRow = {
subcategory: string;
chartRegion: string;
stackGroup: string;
addonKind: string;
};
@Injectable()
@@ -53,7 +51,6 @@ export class ProsthesisCatalogService implements OnModuleInit {
subcategory: true,
chartRegion: true,
stackGroup: true,
addonKind: true,
},
});
@@ -66,7 +63,6 @@ export class ProsthesisCatalogService implements OnModuleInit {
subcategory: row.subcategory,
chartRegion: row.chartRegion,
stackGroup: row.stackGroup,
addonKind: row.addonKind,
},
]),
);
@@ -94,7 +90,6 @@ export class ProsthesisCatalogService implements OnModuleInit {
subcategory: row.subcategory,
chartRegion: row.chartRegion,
stackGroup: row.stackGroup,
addonKind: row.addonKind,
};
})
.sort((a, b) => a.sortOrder - b.sortOrder || a.code.localeCompare(b.code));