Fix bogus quote approval policy not always being replaced correctly (#36885)
This commit is contained in:
@@ -112,7 +112,7 @@ export function normalizeStatus(status, normalOldStatus, { bogusQuotePolicy = fa
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (normalOldStatus) {
|
if (normalOldStatus) {
|
||||||
normalStatus.quote_approval ||= normalOldStatus.quote_approval;
|
normalStatus.quote_approval ||= normalOldStatus.get('quote_approval');
|
||||||
|
|
||||||
const list = normalOldStatus.get('media_attachments');
|
const list = normalOldStatus.get('media_attachments');
|
||||||
if (normalStatus.media_attachments && list) {
|
if (normalStatus.media_attachments && list) {
|
||||||
|
|||||||
Reference in New Issue
Block a user