mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fixes: adds expected to have () in the auto-complete for the component functions.
This commit is contained in:
parent
291bd29ff9
commit
dfa441749b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export const generateHints = (hints, totalReferences = 1) => {
|
|||
if (!hints) return [];
|
||||
|
||||
const suggestions = hints.map(({ hint, type }) => {
|
||||
let displayedHint = type === 'js_method' ? `${hint}()` : hint;
|
||||
let displayedHint = type === 'js_method' || type === 'Function' ? `${hint}()` : hint;
|
||||
|
||||
const maxHintLength = 20;
|
||||
const hintLength = displayedHint.length;
|
||||
|
|
|
|||
Loading…
Reference in a new issue