Skip to content

Commit

Permalink
fix: support null & undefined in data link variables
Browse files Browse the repository at this point in the history
supports #22
  • Loading branch information
BrightGrafana committed Feb 20, 2024
1 parent c874ad2 commit d915b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Expand Up @@ -87,7 +87,7 @@ export class Utils {
return dfv.toArray().map((dfRow) => {
const fields: Record<string, any> = {};
Object.keys(dfRow).forEach((key: string) => {
fields[key] = dfRow[key];
fields[key] = dfRow[key] ? dfRow[key] : '';
});

const tempScopedVars: ScopedVars = {
Expand Down

0 comments on commit d915b97

Please sign in to comment.