After attempting to generate a shipping label, if the process fails and the toast message Failed to generate shipping label is displayed, the spinner on the "Generate Shipping Label" button continues to rotate
Expected behavior
The spinner should stop rotating once the toast message appears, indicating that the process has completed, even if it failed.
Steps to reproduce the issue
Navigate to the order detail page in the in-progress tab.
Click on Generate Shipping Label on the shipment method card.
Observe the toast message Failed to generate shipping label.
Notice that the spinner on the Generate Shipping Label button keeps rotating.
Current behavior
After attempting to generate a shipping label, if the process fails and the toast message
Failed to generate shipping label
is displayed, the spinner on the "Generate Shipping Label" button continues to rotateExpected behavior
The spinner should stop rotating once the toast message appears, indicating that the process has completed, even if it failed.
Steps to reproduce the issue
Generate Shipping Label
on the shipment method card.Failed to generate shipping label
.Generate Shipping Label
button keeps rotating.Can you handle fixing this bug by yourself?
Additional information
https://jam.dev/c/27ba2a53-3be9-45b8-9ab2-7dd0a4f5732c Version - Dev