mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[DataViews] dont check relationships for adhoc data views (#139376)
This commit is contained in:
parent
7429f78cfa
commit
135115d833
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export const EditIndexPattern = withRouter(
|
|||
}, [savedObjectsManagement]);
|
||||
|
||||
useEffect(() => {
|
||||
if (allowedTypes.length === 0) {
|
||||
if (allowedTypes.length === 0 || !indexPattern.isPersisted()) {
|
||||
return;
|
||||
}
|
||||
const allowedAsString = allowedTypes.map((item) => item.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue