Skip to content

Commit

Permalink
Fix #110 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-gerber committed Apr 21, 2022
1 parent ca418e2 commit a1931d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/src/metabase/dashboards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export class Dashboards {
return key === 'query' && isString(value)
// ->> and #>> must not be replaced
// https://www.postgresql.org/docs/9.4/functions-json.html
? value.replace(/<</g, '{{').replace(/[^-#]>>/g, '}}')
? value.replace(/<</g, '{{').replace(/([^-#])>>/g, '$1}}')
: value;
}
)
Expand Down

0 comments on commit a1931d1

Please sign in to comment.