-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug fixes for Policy Managed Indices and Indexes pages #1134
Conversation
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
@@ -435,7 +435,7 @@ export class ManagedIndices extends MDSEnabledComponent<ManagedIndicesProps, Man | |||
showEditModal, | |||
isPopoverOpen, | |||
} = this.state; | |||
|
|||
console.log(this.context); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console is not accepted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
<ModalConsumer> | ||
{({ onShow, onClose }) => ( | ||
<EuiContextMenuItem | ||
key="Edit" | ||
toolTipPosition="left" | ||
disabled={selectedItems.length !== 1 || isDataStreamIndexSelected} | ||
data-test-subj="editOption" | ||
onClick={() => | ||
onShow(RolloverAliasModal, { | ||
index: selectedItems[0].index, | ||
core: this.context, | ||
}) | ||
} | ||
> | ||
Edit rollover alias | ||
</EuiContextMenuItem> | ||
)} | ||
</ModalConsumer>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we are changing the logic here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a bug in that implementation there due to which the button was not working properly, so have fixed that
@@ -14,6 +14,7 @@ import { | |||
EuiOverlayMask, | |||
EuiCodeBlock, | |||
} from "@elastic/eui"; | |||
import { size } from "lodash"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { size } from "lodash"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
Signed-off-by: Kshitij Tandon <[email protected]>
@tandonks closing this PR since you've opened a new one with required changes |
Description
This PR achieves 3 things:
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.