mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 13:37:28 +00:00
fix: display correct property name in code-hinter popup header
When expanding the code hinter from the Success Message input in query editor, the popup header displayed 'Editor' instead of the property name. Added componentName prop to CodeHinter in SuccessNotificationInputs component so the header correctly shows 'Success Message'. Fixes #6655
This commit is contained in:
parent
c2903613a0
commit
5d71d8d0d7
2 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ export default function SuccessNotificationInputs({ currentState, options, darkM
|
|||
initialValue={options.successMessage}
|
||||
onChange={(value) => optionchanged('successMessage', value)}
|
||||
placeholder={t('editor.queryManager.queryRanSuccessfully', 'Query ran successfully')}
|
||||
componentName="Success Message"
|
||||
cyLabel={'success-message'}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export default function SuccessNotificationInputs({ currentState, options, darkM
|
|||
initialValue={options.successMessage}
|
||||
onChange={(value) => optionchanged('successMessage', value)}
|
||||
placeholder={t('editor.queryManager.queryRanSuccessfully', 'Query ran successfully')}
|
||||
componentName="Success Message"
|
||||
cyLabel={'success-message'}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue