Reload member device list when they change
This commit is contained in:
@@ -132,4 +132,13 @@ HListView {
|
||||
Component.onCompleted: loadDevices()
|
||||
|
||||
Keys.onEscapePressed: stackView.pop()
|
||||
|
||||
|
||||
Connections {
|
||||
target: py.eventHandlers
|
||||
|
||||
function onDeviceUpdateSignal(forAccount) {
|
||||
if (forAccount === profile.userId) profile.loadDevices()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user