fix(admin-ui): Fix effect check in inventory table and overflow UI (#3577)

* Fix effect check in inventory table and overflow UI

* Create ten-berries-rest.md

* Fix edit stock&inventory modal to use the right form

* Fix faulty merge conflict resolution

* Fix inventory item creation

* Add redirect to locations tab if no locations, toast

* Revert redirect and toast, add message in table

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Rares Stefan
2023-03-27 20:48:47 +02:00
committed by GitHub
co-authored by Oliver Windall Juhl
parent feaf8d2e19
commit 95c9fbfdd5
5 changed files with 20 additions and 6 deletions
@@ -43,7 +43,7 @@ const Locations = () => {
) : (
<div>
{stock_locations?.map((stockLocation) => (
<LocationCard location={stockLocation} />
<LocationCard key={stockLocation.id} location={stockLocation} />
))}
</div>
)}