mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
prevent possible error when new-typed visualizations are saved
This commit is contained in:
parent
ebf07f39b6
commit
fecc255198
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ define(function (require) {
|
|||
catch (e) { /* missing typename handled below */ }
|
||||
}
|
||||
|
||||
if (!typeName) {
|
||||
if (!typeName || !visTypes.byName[typeName]) {
|
||||
notify.info('unable to detect type from visualization source', hit);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue