From b457385b1142678a72e884678a6848ac07d90a15 Mon Sep 17 00:00:00 2001 From: sumitdaga Date: Wed, 16 Jan 2019 13:06:02 +0530 Subject: [PATCH] fixes issue 408 --- src/app/components/data-viewer/data-viewer.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/components/data-viewer/data-viewer.component.ts b/src/app/components/data-viewer/data-viewer.component.ts index 7953b7a..fba5a1c 100644 --- a/src/app/components/data-viewer/data-viewer.component.ts +++ b/src/app/components/data-viewer/data-viewer.component.ts @@ -239,7 +239,11 @@ export class DataViewerComponent implements OnInit, OnChanges { this.data = this.hashCachedData.slice(start, end); } } else if (type === 'string') { - this.stringValue = this.pageData.item.value; + this.loadingPageData = true; + this.redisService.call(instanceId, [['GET', key]]).subscribe(ret => { + this.loadingPageData = false; + this.stringValue = ret[0]; + }); } }