mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix events
This commit is contained in:
parent
30aadbd5d6
commit
54c08e99a1
@ -31,13 +31,13 @@ export class RouteRender extends EvitePureComponent {
|
||||
}
|
||||
|
||||
handleBusEvents = {
|
||||
"render_initialization": () => {
|
||||
"app.render_initialization": () => {
|
||||
this.setState({ renderInitialization: true })
|
||||
},
|
||||
"render_initialization_done": () => {
|
||||
"app.render_initialization_done": () => {
|
||||
this.setState({ renderInitialization: false })
|
||||
},
|
||||
"crash": (message, error) => {
|
||||
"app.crash": (message, error) => {
|
||||
this.setState({ crash: { message, error } })
|
||||
},
|
||||
"locationChange": (event) => {
|
||||
|
@ -18,15 +18,15 @@ export default class BottomBar extends EviteComponent {
|
||||
}
|
||||
|
||||
handleBusEvents = {
|
||||
"render_initialization": () => {
|
||||
"app.render_initialization": () => {
|
||||
this.toogle(false)
|
||||
},
|
||||
"render_initialization_done": () => {
|
||||
"app.render_initialization_done": () => {
|
||||
if (this.isAllowed()) {
|
||||
this.toogle(true)
|
||||
}
|
||||
},
|
||||
"crash": () => {
|
||||
"app.crash": () => {
|
||||
this.toogle(false)
|
||||
},
|
||||
"locationChange": () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user