Merged PR 1558: #4092 Fix updateNotificationsGroup get orderId from first Item not from initi...

#4092 Fix updateNotificationsGroup get orderId from first Item not from initial form
This commit is contained in:
Nino Righi
2023-06-09 12:52:28 +00:00
committed by Andreas Schickinger
parent 3ed9227508
commit 90b752e185

View File

@@ -170,8 +170,7 @@ export class SharedGoodsInOutOrderEditComponent implements OnChanges, OnDestroy
}
async updateNotificationsGroup() {
const control = this.control?.getRawValue();
const orderId = control?.orderId;
const orderId = this.items[0].orderId;
try {
if (orderId) {