improvement: all confirmed suggestions implemented
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user