Created
September 18, 2026 13:48
-
-
Save cardil/e4c3918527a9a34b34b19c890e88b4d0 to your computer and use it in GitHub Desktop.
Patch for the Cisco Catalyst UI crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/html/utils/header/headerCtrl.js b/html/utils/header/headerCtrl.js | |
| index 1520107..1a1e4b3 100755 | |
| --- a/html/utils/header/headerCtrl.js | |
| +++ b/html/utils/header/headerCtrl.js | |
| @@ -545,6 +545,8 @@ app.controller("headerCtrl", ['$rootScope', '$scope', '$filter', '$location', '$ | |
| } | |
| function fetchUsername() { | |
| + $scope.userName = "Admin"; | |
| + return; | |
| var usernameResponse = ""; | |
| var GET_USERNAME = ""; | |
| if($(location)[0] != undefined && $(location)[0] !=""){ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment