mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 2008: fix(reward-print, reward-popup, reward-destination): improve reward cart stab...
fix(reward-print, reward-popup, reward-destination): improve reward cart stability and UX - fix: remove console.log statement from calculate-price-value helper - fix: add loading/pending state to print button to prevent duplicate prints - fix: debounce reward selection resource reloading to prevent race conditions - fix: correct reward cart item destination-info alignment and flex behavior - fix: support OrderType in OrderDestinationComponent alongside OrderTypeFeature - fix: use unitPrice instead of total for price calculations in reward items - refactor: update calculatePriceValue test descriptions for clarity - fix: fallback to order.orderType when features don't contain orderType The reward selection popup now properly waits for all resources to reload before resolving, preventing timing issues with cart synchronization. Print button shows pending state during print operations. Destination info components now handle both legacy OrderType and new OrderTypeFeature enums for better compatibility. Ref: #5442, #5445
This commit is contained in:
committed by
Lorenz Hilpert
parent
af7bad03f5
commit
f04e36e710
@@ -55,8 +55,6 @@ import {
|
||||
RewardSelectionPopUpService,
|
||||
} from '@isa/checkout/shared/reward-selection-dialog';
|
||||
|
||||
import { injectConfirmationDialog, injectFeedbackDialog } from '@isa/ui/dialog';
|
||||
|
||||
@Component({
|
||||
selector: 'page-article-details',
|
||||
templateUrl: 'article-details.component.html',
|
||||
@@ -210,7 +208,7 @@ export class ArticleDetailsComponent implements OnInit, OnDestroy {
|
||||
).path;
|
||||
}
|
||||
|
||||
showMore: boolean = false;
|
||||
showMore = false;
|
||||
|
||||
@ViewChild('detailsContainer', { read: ElementRef, static: false })
|
||||
detailsContainer: ElementRef;
|
||||
@@ -610,7 +608,7 @@ export class ArticleDetailsComponent implements OnInit, OnDestroy {
|
||||
|
||||
async navigateToResultList() {
|
||||
const processId = this.applicationService.activatedProcessId;
|
||||
let crumbs = await this.breadcrumb
|
||||
const crumbs = await this.breadcrumb
|
||||
.getBreadcrumbsByKeyAndTags$(this.applicationService.activatedProcessId, [
|
||||
'catalog',
|
||||
'details',
|
||||
|
||||
Reference in New Issue
Block a user