Merge pull request #755 from amnezia-vpn/bugfix/api-server-settings-page

for api servers, without the VPN config, the management tab will be selected by default
This commit is contained in:
pokamest
2024-04-17 03:29:31 -07:00
committed by GitHub

View File

@@ -145,6 +145,9 @@ PageType {
Layout.fillWidth: true
currentIndex: (ServersModel.getProcessedServerData("isServerFromApi")
&& !ServersModel.getProcessedServerData("hasInstalledContainers")) ? 2 : 0
background: Rectangle {
color: "transparent"
}