We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f374f72 commit 4a7773cCopy full SHA for 4a7773c
1 file changed
modules/nexus/common/EthernetSection.qml
@@ -77,6 +77,8 @@ ColumnLayout {
77
}
78
79
Repeater {
80
+ id: ethRepeater
81
+
82
model: ScriptModel {
83
values: Nmcli.ethernetDevices.filter(d => d.state !== "unavailable")
84
@@ -93,7 +95,7 @@ ColumnLayout {
93
95
readonly property var details: ethRow.isConnected ? Nmcli.ethernetDeviceDetails : null
94
96
97
Layout.fillWidth: true
- last: index === Nmcli.ethernetDevices.length - 1
98
+ last: index === ethRepeater.count - 1
99
implicitHeight: ethLayout.implicitHeight + Tokens.padding.medium * 2
100
101
// Tap opens the detail page for this interface.
0 commit comments