Fix null account warnings on AddChat pages
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user