Skip to content

Commit

Permalink
fix vega visualization error message not been formatted (#6777)
Browse files Browse the repository at this point in the history
* fix vega visualization error message not been formatted

---------

Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 8d50974)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent ecfaed5 commit a69b2c8
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://github.com/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 a69b2c8

Please sign in to comment.