Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Sep 22, 2020
1 parent e3b5407 commit ae0d9ee
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export const EditIndexPattern = withRouter(
const refreshFields = () => {
overlays.openConfirm(confirmMessage, confirmModalOptionsRefresh).then(async (isConfirmed) => {
if (isConfirmed) {
// todo catch error as in index_pattern
await data.indexPatterns.refreshFields(indexPattern);
await data.indexPatterns.updateSavedObject(indexPattern);
setFields(indexPattern.getNonScriptedFields());
Expand Down

0 comments on commit ae0d9ee

Please sign in to comment.