Skip to content

Commit

Permalink
ui. do not delegate logs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Jan 23, 2020
1 parent 2f8863f commit 53aab53
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ui/src/components/system/UsersGroups.vue
Expand Up @@ -1751,7 +1751,13 @@ export default {
vm.view.isAuth = true;
vm.view.isRoot = success.status.isRoot == 1;
Array.prototype.push.apply(appList, success.applications);
Array.prototype.push.apply(sysList, success.system.filter(x => x != 'terminal'));
// remove some elements not needed
for(var i = 0; i < success.system.length; i++){
if ((success.system[i] == 'logs') || (success.system[i] == 'terminal')){
success.system.splice(i, 1);
}
}
Array.prototype.push.apply(sysList, success.system);
},
function(error) {
console.error(error);
Expand Down

0 comments on commit 53aab53

Please sign in to comment.