Skip to content

Commit

Permalink
fix vega visualization error message not been formatted (opensearch-p…
Browse files Browse the repository at this point in the history
…roject#6777)

* fix vega visualization error message not been formatted

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and LDrago27 committed Jun 3, 2024
1 parent 44fcec4 commit ee068fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/6777.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Error message is not formatted in vis_type_vega url parser. ([#6777](https:/opensearch-project/OpenSearch-Dashboards/pull/6777))
2 changes: 1 addition & 1 deletion src/plugins/vis_type_vega/public/data_model/vega_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ The URL is an identifier only. OpenSearch Dashboards and your browser will never
i18n.translate('visTypeVega.vegaParser.notSupportedUrlTypeErrorMessage', {
defaultMessage: '{urlObject} is not supported',
values: {
urlObject: 'url: {"%type%": "${type}"}',
urlObject: `url: {"%type%": "${type}"}`,
},
})
);
Expand Down

0 comments on commit ee068fd

Please sign in to comment.