diff --git a/src/js/terminal.js b/src/js/terminal.js index d2ce7aa0b..b0d061bef 100644 --- a/src/js/terminal.js +++ b/src/js/terminal.js @@ -100,19 +100,6 @@ app.controller('TerminalController', ['$scope', '$timeout', '$location', 'Client fileUpload.click(); }; - $scope.populateDropdown = function () { - Client.getInstalledApps().forEach(function (app) { - $scope.apps.push({ - type: 'app', - value: app.id, - name: app.fqdn + ' (' + app.manifest.title + ')', - addons: app.manifest.addons - }); - }); - - // $scope.selected = $scope.apps[0]; - }; - $scope.usesAddon = function (addon) { if (!$scope.selected || !$scope.selected.addons) return false; return !!Object.keys($scope.selected.addons).find(function (a) { return a === addon; }); @@ -308,8 +295,6 @@ app.controller('TerminalController', ['$scope', '$timeout', '$location', 'Client $scope.terminal.focus(); }; - Client.onReady($scope.populateDropdown); - // terminal right click handling $scope.terminalClear = function () { if (!$scope.terminal) return;