diff options
| author | Jayashankar Padath <jayashankar.padath@in.ibm.com> | 2018-05-29 16:09:52 +0530 |
|---|---|---|
| committer | Jayashankar Padath <jayashankar.padath@in.ibm.com> | 2018-05-29 23:08:48 +0530 |
| commit | 60921bc5f9b32753f4b0241ce7606f9c8f065a30 (patch) | |
| tree | ebc687f8b11a56a2c11ecbe4b069ef3b2a0f90fc /app/overview/controllers/system-overview-controller.html | |
| parent | e9f5fe77bb5646d33b06d51008bac8aa208a21f8 (diff) | |
| download | phosphor-webui-60921bc5f9b32753f4b0241ce7606f9c8f065a30.tar.gz phosphor-webui-60921bc5f9b32753f4b0241ce7606f9c8f065a30.zip | |
Server overview: Limit the number of event logs
Restrict the number of high priority event logs to the 5 newest on
the server overview page. All the event logs can still be viewed on
the event log page. The server overview page should just show a
summary and not show all the high priority event logs, which could
number as high as 200.
Resolves openbmc/openbmc#3160
Tested: Running GUI locally and verified the number of high priority
events as 4, 5, 6 and 10.
Change-Id: I3fc22c8d13eb66a6b045d46180f1d195d74e67c3
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Diffstat (limited to 'app/overview/controllers/system-overview-controller.html')
| -rw-r--r-- | app/overview/controllers/system-overview-controller.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/overview/controllers/system-overview-controller.html b/app/overview/controllers/system-overview-controller.html index 77dd3de..7be7f9f 100644 --- a/app/overview/controllers/system-overview-controller.html +++ b/app/overview/controllers/system-overview-controller.html @@ -118,7 +118,7 @@ </div> <!-- single event --> - <a href="#/server-health/event-log/high" ng-repeat="event in logs|orderBy:sortAscending:'+Id'"> + <a href="#/server-health/event-log/high" ng-repeat="event in logs|orderBy:sortAscending:'+Id'|limitTo : 5"> <div class="row column event-log__single-event"> <div class="row"> <div class="column small-1 large-1 event-log__col-check"> |

