Skip to content

Commit

Permalink
more switch updates
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsongl committed Nov 13, 2019
1 parent f095acd commit 0f41d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/functional/page_objects/visualize_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ export function VisualizePageProvider({ getService, getPageObjects, updateBaseli

async setIsFilteredByCollarCheckbox(value = true) {
await retry.try(async () => {
const isChecked = await this.isChecked('isFilteredByCollarCheckbox');
const isChecked = await this.isSwitchChecked('isFilteredByCollarCheckbox');
if (isChecked !== value) {
await testSubjects.click('isFilteredByCollarCheckbox');
throw new Error('isFilteredByCollar not set correctly');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,7 @@ const AllRules = React.memo(() => {
field: 'activate',
name: 'Activate',
render: (value: ColumnTypes['activate']) => (
// Michael: Uncomment props below when EUI 14.9.0 is added to Kibana.
<EuiSwitch
checked={value}
// label="Activate"
onChange={() => {}}
// showLabel={false}
/>
<EuiSwitch checked={value} label="Activate" onChange={() => {}} showLabel={false} />
),
sortable: true,
width: '65px',
Expand Down

0 comments on commit 0f41d37

Please sign in to comment.