Fix '$scope.filteredLogs is undefined'

When loading the "Event log" page '$scope.filteredLogs is undefined'
is logged in the console.

https://github.com/openbmc/phosphor-webui/commit/1ca1d7e10ed0ef47206bb89f6dcc5778b1239519
moved the watch on the all logs checkbox to $scope.filteredLogs.

Add $scope.filteredLogs to the top of the file so it is not
undefined on page load.

Tested: No longer see the console message.
Change-Id: Ifa49b416db1a692fc16b3325cef26f59189855a8
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: 623788eb1ca467eca2befbf82896b17eb0bc89da
  1. app/
  2. gulp_tasks/
  3. .babelrc
  4. .clang-format
  5. .gitignore
  6. bower.json
  7. config.json
  8. format-code.sh
  9. gulp-options.js
  10. gulpfile.js
  11. karma.conf.js
  12. LICENSE
  13. MAINTAINERS
  14. package-lock.json
  15. package.json
  16. postcss.config.js
  17. README.md
  18. sonar-project.properties
  19. webpack.config.js
README.md

OpenBMC Web User Interface

The OpenBMC WebUI is a Web-based user interface for the OpenBMC firmware stack. The WebUI uses AngularJS. Features include:

  • View system overview data such as model information and serial number
  • View and manage event logs
  • View inventory data
  • View sensor data
  • Power On/Off server operations
  • Reboot BMC
  • Manage and update BMC and Host firmware
  • IPv4 network settings
  • SoL console

Requirements

nodejs npm

Installation

npm install

Running locally

npm run-script server

This will start a server instance and begin listening for connections at http://localhost:8080. This development server provides live reloading on code changes. NOTE: Browsing to https://<BMC> and accepting the self-signed certificate might be required to prevent your browser from blocking traffic to the BMC.

Logging in

Enter the BMC Host or BMC IP address, username, and password. The default username and password are root/0penBmc.