Fix starting Mirage when initial page isn't a chat
This commit is contained in:
parent
462d3972ff
commit
2b45c07819
|
@ -82,14 +82,7 @@ HLoader {
|
|||
return
|
||||
}
|
||||
|
||||
const page = window.uiState.page
|
||||
const props = window.uiState.pageProperties
|
||||
|
||||
if (page === "Pages/Chat/Chat.qml") {
|
||||
pageLoader.showRoom(props.userId, props.roomId)
|
||||
} else {
|
||||
pageLoader._show(page, props)
|
||||
}
|
||||
pageLoader.showPage(window.uiState.page, window.uiState.pageProperties)
|
||||
}
|
||||
|
||||
HNumberAnimation {
|
||||
|
|
Loading…
Reference in New Issue
Block a user