An outline appears on the reject button when the item variance threshold is adjusted while the system inventory is 0 and the counted inventory is any positive integer.
Expected behavior
No button outline should be present on any button (approve, reject, or re-count) when reviewing the count item in this scenario, as the item variance threshold cannot be defined.
Steps to reproduce the issue
Open the inventory management system.
Navigate to the inventory count section.
Select an item with a system inventory count of 0.
Perform an inventory count for the item and enter any positive integer.
Adjust the item variance threshold.
Review the count item.
Observe that an outline appears on the reject button.
Environment details
App version : INVENTORY-COUNT-2.0-E02AD11
App environment : DEV
Current behavior
An outline appears on the reject button when the item variance threshold is adjusted while the system inventory is 0 and the counted inventory is any positive integer.
Expected behavior
No button outline should be present on any button (approve, reject, or re-count) when reviewing the count item in this scenario, as the item variance threshold cannot be defined.
Steps to reproduce the issue
Open the inventory management system. Navigate to the inventory count section. Select an item with a system inventory count of 0. Perform an inventory count for the item and enter any positive integer. Adjust the item variance threshold. Review the count item. Observe that an outline appears on the reject button.
Environment details
App version : INVENTORY-COUNT-2.0-E02AD11 App environment : DEV
Additional information
https://jam.dev/c/ee80c6db-cde8-4622-89ea-d49f47305b57