mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
fixes typos, text should be specific to a component (#1955)
This commit is contained in:
parent
7af79c091e
commit
4f2d5907ad
1 changed files with 4 additions and 1 deletions
|
|
@ -431,6 +431,7 @@ export const EventManager = ({
|
|||
}
|
||||
|
||||
const events = component.component.definition.events || [];
|
||||
const componentName = componentMeta.name ? componentMeta.name : 'query';
|
||||
|
||||
if (events.length === 0) {
|
||||
return (
|
||||
|
|
@ -444,7 +445,9 @@ export const EventManager = ({
|
|||
</button>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<small className="color-disabled">This table doesn't have any events</small>
|
||||
<small className="color-disabled">
|
||||
This {componentName.toLowerCase()} doesn't have any event handlers
|
||||
</small>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue