Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit 1c446e5

Browse files
committed
ui fixes
1 parent 2dfa716 commit 1c446e5

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

dashboard.tar.gz

20 Bytes
Binary file not shown.

digexp-dashboard/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ html {
1515
padding-right: 15px;
1616
padding-top: 15px;
1717
max-height: calc(100vh - 208px);
18+
min-height: calc(100vh - 208px);
1819
overflow-x: hidden;
1920
}
2021
.dashboard-list > .row {

digexp-dashboard/js/controllers.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ dashboardControllers.controller('SettingsController', ['$scope', '$location', '$
6666
});
6767
};
6868
$scope.updateServerName = function(index, value){
69-
if($scope.selectServers[index].serverName != value){
69+
if($scope.selectServers[index].ServerName != value){
70+
if($scope.activeServer == $scope.selectServers[index].ServerName)
71+
$scope.activeServer = value;
7072
var aServerOpt = document.querySelector("#activeServer").options[index];
71-
$scope.selectServers[index].serverName = aServerOpt.innerText = value;
72-
$scope.selectServers[index].serverId = aServerOpt.label= value;
73+
$scope.selectServers[index].ServerName = aServerOpt.innerText = value;
74+
$scope.selectServers[index].ServerId = aServerOpt.label= value;
7375
}
7476
},
7577
$scope.disableAddButton = function(index){

release/digexp-toolkit.zip

7.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)