Skip to content

Commit

Permalink
Update src/catalogue/category/catalogueCategoryDialog.component.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadkitenge authored Apr 9, 2024
1 parent 71a17c4 commit 0d94943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const CatalogueCategoryDialog = React.memo(
if (selectedCatalogueCategory) {
const updatedCatalogueItemProperties =
selectedCatalogueCategory.catalogue_item_properties?.map((item) => {
// Assuming allowed_values should be an array of objects with id and value keys
// Transform allowed_values to an array of objects with id and value keys
const allowedValuesWithId = item.allowed_values?.values.map(
(value) => ({
av_placement_id: generateUniqueId('av_placement_id_'), // Allowed values (av)
Expand Down

0 comments on commit 0d94943

Please sign in to comment.