Skip to content

Commit

Permalink
Merge pull request #941 from hpcc-systems/yadhap/prods-not-populating…
Browse files Browse the repository at this point in the history
…-in-select-component

Resolved issue where products were not displaying in the product cate…
  • Loading branch information
FancMa01 authored Nov 7, 2024
2 parents 368c29e + 360126e commit 25addd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function AsrSpecificMonitoringDetails({ form, domains, productCategories, setSel
rules={[{ required: true, message: 'Please select an option' }]}>
<Select placeholder="Product Category">
{productCategories.map((c, i) => (
<Option key={i} value={c.value}>
{c.label}
<Option key={i} value={c.id}>
{`${c.name} (${c.shortCode})`}
</Option>
))}
</Select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function JobMonitoring() {
setSelectedCluster={setSelectedCluster}
resetStates={resetStates}
domains={domains}
productCategories={productCategories}
productCategories={allProductCategories}
setSelectedDomain={setSelectedDomain}
activeTab={activeTab}
setActiveTab={setActiveTab}
Expand Down

0 comments on commit 25addd5

Please sign in to comment.