mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Merge pull request #768 from prymitive/pause-on-edit
feat(ui): pause updates while a filter is being edited
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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" }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user