@vtex/faststore-plugin-buyer-portal 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.0.8] - 2026-07-07
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fix Buying Policy criteria field not being editable: the click handler that re-focuses the criteria input referenced `isAccountingFieldCriteria`/`isAccountingValueCriteria` without calling them, so it never re-entered edit mode
|
|
15
|
+
|
|
10
16
|
## [2.0.7] - 2026-06-29
|
|
11
17
|
### Fixed
|
|
12
18
|
|
|
@@ -713,7 +719,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
713
719
|
- Add CHANGELOG file
|
|
714
720
|
- Add README file
|
|
715
721
|
|
|
716
|
-
[unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.
|
|
722
|
+
[unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.8...HEAD
|
|
717
723
|
[1.3.55]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.54...v1.3.55
|
|
718
724
|
[1.3.54]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.53...v1.3.54
|
|
719
725
|
[1.3.53]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.52...v1.3.53
|
|
@@ -799,6 +805,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
799
805
|
[1.3.85]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.85
|
|
800
806
|
[1.3.87]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.86...v1.3.87
|
|
801
807
|
[1.3.86]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.86
|
|
808
|
+
[2.0.8]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.7...v2.0.8
|
|
802
809
|
[2.0.7]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.6...v2.0.7
|
|
803
810
|
[2.0.6]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.5...v2.0.6
|
|
804
811
|
[2.0.5]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.4...v2.0.5
|
package/package.json
CHANGED
package/src/features/buying-policies/components/BasicBuyingPolicyDrawer/BasicBuyingPolicyDrawer.tsx
CHANGED
|
@@ -320,8 +320,8 @@ export const BasicBuyingPolicyDrawer = ({
|
|
|
320
320
|
onClick={() => {
|
|
321
321
|
if (
|
|
322
322
|
!isBudgetCriteria &&
|
|
323
|
-
!isAccountingFieldCriteria &&
|
|
324
|
-
!isAccountingValueCriteria
|
|
323
|
+
!isAccountingFieldCriteria(criteria) &&
|
|
324
|
+
!isAccountingValueCriteria(criteria)
|
|
325
325
|
) {
|
|
326
326
|
setCriteriaFocused(true);
|
|
327
327
|
}
|