diff options
author | Dixsie Wolmers <dixsie@ibm.com> | 2021-06-14 19:29:44 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-07-22 17:27:26 +0300 |
commit | 8b1beffd683a400eec8454ac155f84f0ebcd3f3f (patch) | |
tree | 57ffc45bc7189ac03b85277b6e2aa11f53750fe7 /src/store | |
parent | cad5bb9cfc7cc4ce2024b7b227affb3c7a717f1f (diff) | |
download | webui-vue-8b1beffd683a400eec8454ac155f84f0ebcd3f3f.tar.xz |
Add download additional data functionality
Adds ability to download event log additional data data by row.
The download attribute is not used to rename the file
because it causes the download to fail in Chrome
(Chromium bug for base64 files).
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: I92164adc0a8ccf1bd6ed23cc5891a04fac47685b
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/Health/EventLogStore.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store/modules/Health/EventLogStore.js b/src/store/modules/Health/EventLogStore.js index 2b6d5f94..5664e99f 100644 --- a/src/store/modules/Health/EventLogStore.js +++ b/src/store/modules/Health/EventLogStore.js @@ -52,6 +52,7 @@ const EventLogStore = { Name, Modified, Resolved, + AdditionalDataURI, } = log; return { id: Id, @@ -64,6 +65,7 @@ const EventLogStore = { uri: log['@odata.id'], filterByStatus: Resolved ? 'Resolved' : 'Unresolved', status: Resolved, //true or false + additionalDataUri: AdditionalDataURI, }; }); commit('setAllEvents', eventLogs); |