diff --git a/src/components/gui/tabs/query-placeholder.tsx b/src/components/gui/tabs/query-placeholder.tsx index 287182ed..9046f4e5 100644 --- a/src/components/gui/tabs/query-placeholder.tsx +++ b/src/components/gui/tabs/query-placeholder.tsx @@ -23,22 +23,22 @@ export function QueryPlaceholder({ const placeholderTable = useMemo(() => { return ( -
- - - - - +
+
VariablesValue
+ + + + {Object.entries(placeholders).map(([key, value]) => ( - - +
VariablesValue
{key} + {key} { @@ -64,11 +64,11 @@ export function QueryPlaceholder({
{hasEmptyPlaceholder && ( -
-
+
+
)} - Placeholders + Variables {placeholderCount - emptyPlaceholderCount} / {placeholderCount} @@ -77,8 +77,8 @@ export function QueryPlaceholder({ {placeholderTable} -

- Use '' for an +

+ Use '' for an empty string. If the value is a number, it will automatically be cast to a number. To specify a numeric string, wrap it in single quote.