Fix simple lint errors
This commit is contained in:
parent
9c3bd12830
commit
0e92251f70
8 changed files with 35 additions and 27 deletions
|
@ -124,13 +124,12 @@ export default class EventIndexPanel extends React.Component {
|
|||
}
|
||||
|
||||
_confirmEventStoreReset = () => {
|
||||
const self = this;
|
||||
const { close } = Modal.createDialog(SeshatResetDialog, {
|
||||
onFinished: async (success) => {
|
||||
if (success) {
|
||||
await SettingsStore.setValue('enableEventIndexing', null, SettingLevel.DEVICE, false);
|
||||
await EventIndexPeg.deleteEventIndex();
|
||||
await self._onEnable();
|
||||
await this._onEnable();
|
||||
close();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue