systemd: fetch remotes via busctl --host, applet-open gating, error states (step 4)
This commit is contained in:
parent
6224d86965
commit
2ab2af8a23
4 changed files with 302 additions and 34 deletions
|
|
@ -13,6 +13,9 @@ Column {
|
|||
|
||||
onHeightChanged: root.contentResized()
|
||||
|
||||
Component.onCompleted: NS.SystemdService.setAppletOpen(true)
|
||||
Component.onDestruction: NS.SystemdService.setAppletOpen(false)
|
||||
|
||||
Repeater {
|
||||
model: S.SystemdService.machines
|
||||
|
||||
|
|
@ -37,6 +40,9 @@ Column {
|
|||
totalCount: _row.modelData.totalCount ?? 0
|
||||
failedUnits: _row.modelData.failedUnits ?? []
|
||||
runningUnits: _row.modelData.runningUnits ?? []
|
||||
errorKind: _row.modelData.errorKind ?? ""
|
||||
errorReason: _row.modelData.errorReason ?? ""
|
||||
lastSeen: _row.modelData.lastSeen ?? 0
|
||||
onContentResized: root.contentResized()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue