Skip to content

Commit

Permalink
Setting Urgency to plain request format
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJelicSF committed Oct 28, 2024
1 parent 69c68ad commit 8f0ae8d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/components/ContentLists/Automatic/FilterPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,14 @@ class FilterPanel extends React.Component {
vocabularies = vocabularies.filter((v) => v.id !== "priority");
}

// urgency
const urgency = vocabularies.find((v) => v.id === "urgency");

if (urgency) {
newMetadata.urgency = urgency.value[0].value;
vocabularies = vocabularies.filter((v) => v.id !== "urgency");
}

// services
const services = vocabularies.find((v) => v.id === "categories");

Expand Down

0 comments on commit 8f0ae8d

Please sign in to comment.