summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-03-28 19:00:35 +0100
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-03-28 19:01:01 +0100
commit62e834802dae0bd15504785503060d7875c7b4ad (patch)
tree0b3d3ae0c62b279773a2aea3daebcad5f8ad78a2 /sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
parentf2bb490d9c82decbdb50c1e4db1be2f34b28d097 (diff)
Add SDN-R odlux performance
A UI displaying performance monitoring data Change-Id: I2a9c28549aee1bcac366354c343a63f884bf09e0 Issue-ID: SDNC-585 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts')
-rw-r--r--sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts b/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
index 480cdd04e..800e0b47f 100644
--- a/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
+++ b/sdnr/wt/odlux/apps/helpApp/src/services/helpService.ts
@@ -9,7 +9,7 @@ class HelpService {
public async getDocument(path: string): Promise<string | null> {
// check if the result is allready in the cache
if (this.documents[path]) return Promise.resolve(this.documents[path]);
-
+
// request the document
const result = await requestRest<string>(`/help/${ path }`.replace(/\/{2,}/i, '/'));
if (result) {
@@ -23,7 +23,7 @@ class HelpService {
if (this.tocNodeCollection) return Promise.resolve(this.tocNodeCollection);
// request the table of contents
- const result = await requestRest<TocNodeCollection>('/help/?meta');
+ const result = await requestRest<TocNodeCollection>('/help/?meta', undefined, false);
if (result !== false) {
const mapNodesCollection = (col: TocNodeCollection): TocTreeNode[] => {
return Object.keys(col).reduce <TocTreeNode[]>((acc, key) => {