Display the "type" of event log

The GUI before displayed the "Severity" of the event log in the
name field. It now displays the type. Type is from the "Message"
field in the event log. An example of the type is:
"xyz.openbmc_project.Software.Version.Error.ManifestFileFailure".
This is much more useful than the "Severity" ( e.g.
"xyz.openbmc_project.Logging.Entry.Level.Error"). Severity is
still displayed in the event log, above the type.

Resolves openbmc/openbmc#2875

Change-Id: I10fdf90f6498f49b11a64e2c1e556b9a1c95f7b4
Tested: Running GUI locally
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js
index 1b26b93..9b619bd 100644
--- a/app/common/services/api-utils.js
+++ b/app/common/services/api-utils.js
@@ -445,6 +445,7 @@
                             severity_flags: severityFlags,
                             health_flags: healthFlags,
                             additional_data: content.data[key].AdditionalData.join("\n"),
+                            type: content.data[key].Message,
                             selected: false,
                             search_text: ("#" + content.data[key].Id + " " + severityCode + " " + content.data[key].Severity + " " + content.data[key].AdditionalData.join(" ")).toLowerCase(),
                             meta: false,