tweak: show current NixOS generation on popout open
This commit is contained in:
parent
77ebc45ffd
commit
4e7ca4391e
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ ColumnLayout {
|
||||||
spacing: 6
|
spacing: 6
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
|
Component.onCompleted: positionViewAtIndex(NixOS.generations.findIndex(g => g.current), ListView.Visible)
|
||||||
|
|
||||||
model: ScriptModel {
|
model: ScriptModel {
|
||||||
values: [...NixOS.generations]
|
values: [...NixOS.generations]
|
||||||
objectProp: "id"
|
objectProp: "id"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue