mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
@@ -91,7 +91,9 @@ export class ReturnDetailsOrderGroupItemControlsComponent {
|
|||||||
|
|
||||||
dropdownLabel = computed(() => {
|
dropdownLabel = computed(() => {
|
||||||
const category = this.productCategory();
|
const category = this.productCategory();
|
||||||
return category ?? 'Produktart';
|
return !!category && category !== ProductCategory.Unknown
|
||||||
|
? category
|
||||||
|
: 'Produktart';
|
||||||
});
|
});
|
||||||
|
|
||||||
setProductCategory(category: ProductCategory | undefined) {
|
setProductCategory(category: ProductCategory | undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user