commercelayer / dashboard-apps

Commerce Layer's Dashboard applications.
https://dashboard.commercelayer.io
MIT License
0 stars 3 forks source link

Consider stock_locations in scopes when fetching counters in shipments and returns apps #134

Closed gciotola closed 1 week ago

gciotola commented 2 weeks ago

Closes commercelayer/issues-app#232

What I did

This pull request includes several changes to the useListCounters functions in both the apps/returns and apps/shipments directories. The updates mainly focus on enhancing the filtering logic by incorporating ParsedScopes and refactoring the code for better readability and maintainability.

How to test

Checklist

netlify[bot] commented 2 weeks ago

Deploy Preview for commercelayer-dashboard-apps ready!

Name Link
Latest commit f439e9ed10ac60097fe1c9c1c07ee87fd096cf74
Latest deploy log https://app.netlify.com/sites/commercelayer-dashboard-apps/deploys/6721126f3b307700080d73a1
Deploy Preview https://deploy-preview-134--commercelayer-dashboard-apps.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.