Skip to content

Commit

Permalink
Merge pull request #39 from splunk/fix-inputs-dep-in-table
Browse files Browse the repository at this point in the history
fix: inputs dep in configuration page
  • Loading branch information
harshpatel-crest authored Jun 4, 2021
2 parents 142e4fc + 7cf8708 commit d450d40
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ui/src/main/webapp/components/table/CustomTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ function CustomTable({
});

const serviceToStyleMap = {};
unifiedConfigs.pages.inputs.services.forEach((x) => {
serviceToStyleMap[x.name] = x.style === STYLE_PAGE ? STYLE_PAGE : STYLE_MODAL;
});
if (page === PAGE_INPUT) {
unifiedConfigs.pages.inputs.services.forEach((x) => {
serviceToStyleMap[x.name] = x.style === STYLE_PAGE ? STYLE_PAGE : STYLE_MODAL;
});
}

const query = useQuery();

Expand Down

0 comments on commit d450d40

Please sign in to comment.