Show EditAccount page loading until profile ready

This commit is contained in:
miruka
2019-08-27 15:07:08 -04:00
parent 6cb7589cca
commit 410a42bc59
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,8 @@ HPage {
property string userId: ""
readonly property bool ready: accountInfo !== "waiting"
readonly property bool ready:
accountInfo !== "waiting" && Boolean(accountInfo.profile_updated)
readonly property var accountInfo: Utils.getItem(
modelSources["Account"] || [], "user_id", userId