Skip to content

Commit

Permalink
Render the correct form when edit extraction rules (elastic#151304)
Browse files Browse the repository at this point in the history
Adjust Kea's reducers to render correct HTML forms

(cherry picked from commit 1bba627)
  • Loading branch information
vidok committed Feb 16, 2023
1 parent eb5c3b1 commit 733616e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,16 @@ export const ExtractionRulesLogic = kea<
cancelEditExtractionRule: () => null,
editExtractionRule: (_, { extractionRule }) => extractionRule,
updateSuccess: () => null,
updateExtractionRuleSuccess: () => null,
},
],
extractionRuleToEditIsNew: [
false,
{
addSuccess: () => false,
editNewExtractionRule: () => true,
editExtractionRule: () => false,
updateExtractionRuleSuccess: () => false,
},
],
fieldRuleFlyoutVisible: [
Expand Down

0 comments on commit 733616e

Please sign in to comment.