Fix null account warnings on AddChat pages
This commit is contained in:
parent
1ad3de3917
commit
67f1572a18
@ -8,7 +8,7 @@ import "../../Base/ButtonLayout"
|
||||
|
||||
HFlickableColumnPage {
|
||||
id: page
|
||||
enabled: account.presence !== "offline"
|
||||
enabled: account && account.presence !== "offline"
|
||||
|
||||
|
||||
property string userId
|
||||
|
@ -8,7 +8,7 @@ import "../../Base/ButtonLayout"
|
||||
|
||||
HFlickableColumnPage {
|
||||
id: page
|
||||
enabled: account.presence !== "offline"
|
||||
enabled: account && account.presence !== "offline"
|
||||
|
||||
|
||||
property string userId
|
||||
|
@ -8,7 +8,7 @@ import "../../Base/ButtonLayout"
|
||||
|
||||
HFlickableColumnPage {
|
||||
id: page
|
||||
enabled: account.presence !== "offline"
|
||||
enabled: account && account.presence !== "offline"
|
||||
|
||||
|
||||
property string userId
|
||||
|
Loading…
Reference in New Issue
Block a user