Merge pull request #768 from prymitive/pause-on-edit

feat(ui): pause updates while a filter is being edited
This commit is contained in:
Łukasz Mierzwa
2019-06-10 19:43:43 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -98,6 +98,8 @@ const FilterInputLabel = observer(
propName="raw"
change={this.onChange}
classEditing="py-0 border-0 bg-light"
afterStart={alertStore.status.pause}
afterFinish={alertStore.status.resume}
/>
</TooltipWrapper>
<FontAwesomeIcon

View File

@@ -224,8 +224,8 @@ class AlertStore {
setFetching: action,
setProcessing: action,
setFailure: action,
pause: action,
resume: action
pause: action.bound,
resume: action.bound
},
{ name: "Store status" }
);