File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/plugins/vis_type_vega/public/data_model Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ fix :
2+ - Fix vega data url with signal not working ([#10339](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/10339))
Original file line number Diff line number Diff line change @@ -715,8 +715,8 @@ The URL is an identifier only. OpenSearch Dashboards and your browser will never
715715 this . _findObjectDataUrls ( elem , onFind , key ) ;
716716 }
717717 } else if ( _ . isPlainObject ( obj ) ) {
718- if ( key === 'data' && _ . isPlainObject ( obj . url ) ) {
719- // Assume that any "data": {"url": {...}} is a request for data
718+ if ( key === 'data' && _ . isPlainObject ( obj . url ) && _ . isEmpty ( obj . url . signal ) ) {
719+ // Assume that any "data": {"url": {...}} without "signal" is a request for data
720720 if ( obj . values !== undefined || obj . source !== undefined ) {
721721 throw new Error (
722722 i18n . translate (
You can’t perform that action at this time.
0 commit comments