Skip to content
Snippets Groups Projects
Commit db54f3ea authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Merge branch 'new-question-flow-p2' of https://github.com/metabase/metabase...

Merge branch 'new-question-flow-p2' of https://github.com/metabase/metabase into nqf-search-arrow-keys
parents 075b525a 7fde14ea
Branches
Tags
No related merge requests found
......@@ -74,7 +74,7 @@ export class NewQueryOptions extends Component {
render() {
const { query, metadata, metadataFetched, isAdmin, metricSearchUrl, segmentSearchUrl } = this.props
if (!query || !metadataFetched.metrics || !metadataFetched.segments) {
if (!query || (!isAdmin && (!metadataFetched.metrics || !metadataFetched.segments))) {
return <LoadingAndErrorWrapper loading={true}/>
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment