Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove AngularJS controller of blank screen (#6538)
* feat(blank-screen): remove AngularJS controller of blank screen view - Remove AngularJS controller of blank screen view - Remove usage of controller in the html template - Move logic to manage the error message to the BlankScreen component * changelog: add pull request * fix(blank-screen): replace redirection to Overview application instead * feat(blank-screen): enhance button to go to Overview application --------- Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
- Loading branch information
1 parent
1da123b
commit f6d4ef8
Showing
6 changed files
with
66 additions
and
109 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ import './agent'; | |
import './settings'; | ||
import './security'; | ||
import './tools'; | ||
import './misc'; |
80 changes: 0 additions & 80 deletions
80
plugins/main/public/controllers/misc/blank-screen-controller.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
<div ng-controller="blankScreenController as ctrl"> | ||
<div ng-if="ctrl.showErrorPage"> | ||
<react-component name="WzBlankScreen" props="blankScreenProps" ></react-component> | ||
</div> | ||
</div> | ||
<react-component name="WzBlankScreen"></react-component> |