mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
parent
0e82b89564
commit
f1c13c9b17
1 changed files with 2 additions and 5 deletions
|
@ -127,12 +127,9 @@ export class StepTimeFieldComponent extends Component {
|
|||
} catch (error) {
|
||||
if (!this.mounted) return;
|
||||
this.setState({
|
||||
error: error instanceof Error ? error.message : String(error)
|
||||
error: error instanceof Error ? error.message : String(error),
|
||||
isCreating: false,
|
||||
});
|
||||
} finally {
|
||||
if (this.mounted) {
|
||||
this.setState({ isCreating: false });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue