mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
fix DLS query toggle (#27213)
This commit is contained in:
parent
1c0db4750b
commit
ed1c932d4e
2 changed files with 2 additions and 3 deletions
|
@ -203,6 +203,7 @@ exports[`it renders without crashing 1`] = `
|
|||
grow={true}
|
||||
>
|
||||
<EuiSwitch
|
||||
checked={false}
|
||||
compressed={true}
|
||||
data-test-subj="restrictDocumentsQuery0"
|
||||
label={
|
||||
|
@ -213,7 +214,6 @@ exports[`it renders without crashing 1`] = `
|
|||
/>
|
||||
}
|
||||
onChange={[Function]}
|
||||
value={false}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
|
|
|
@ -208,8 +208,7 @@ class IndexPrivilegeFormUI extends Component<Props, State> {
|
|||
}
|
||||
// @ts-ignore
|
||||
compressed={true}
|
||||
// @ts-ignore
|
||||
value={this.state.queryExpanded}
|
||||
checked={this.state.queryExpanded}
|
||||
onChange={this.toggleDocumentQuery}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue