From f6d031ed4ebebf14e29cc82f9cf95e2d3de78454 Mon Sep 17 00:00:00 2001 From: Ankit Singhaniya Date: Wed, 29 Dec 2021 13:30:41 +0530 Subject: [PATCH] move pos add to quick fields inside if block --- models/doctype/Address/RegionalChanges.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/models/doctype/Address/RegionalChanges.js b/models/doctype/Address/RegionalChanges.js index c013134b..e87aed9c 100644 --- a/models/doctype/Address/RegionalChanges.js +++ b/models/doctype/Address/RegionalChanges.js @@ -19,12 +19,13 @@ export default function getAugmentedAddress({ country }) { options: Object.keys(stateCodeMap).map((key) => capitalize(key)), }, ]; + + Address.quickEditFields = [ + ...Address.quickEditFields, + 'pos', + ]; } - Address.quickEditFields = [ - ...Address.quickEditFields, - 'pos', - ]; return Address; } \ No newline at end of file