mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
fix events namigs
This commit is contained in:
parent
2b262f3e47
commit
8353de34a2
@ -298,11 +298,11 @@ class App extends React.Component {
|
||||
})
|
||||
}
|
||||
|
||||
app.eventBus.emit("app.render_initialization")
|
||||
app.eventBus.emit("app.initialization.start")
|
||||
|
||||
await this.initialization()
|
||||
|
||||
app.eventBus.emit("app.render_initialization_done")
|
||||
app.eventBus.emit("app.initialization.finish")
|
||||
}
|
||||
|
||||
initialization = async () => {
|
||||
|
@ -32,10 +32,10 @@ export class RouteRender extends EvitePureComponent {
|
||||
}
|
||||
|
||||
handleBusEvents = {
|
||||
"app.render_initialization": () => {
|
||||
"app.initialization.start": () => {
|
||||
this.setState({ renderInitialization: true })
|
||||
},
|
||||
"app.render_initialization_done": () => {
|
||||
"app.initialization.finish": () => {
|
||||
this.setState({ renderInitialization: false })
|
||||
},
|
||||
"app.crash": (message, error) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user