Skip to content

Commit 1f0f721

Browse files
authored
Merge pull request #458 from topcoderinc/issue-408
fixes issue 408
2 parents b65d32c + b457385 commit 1f0f721

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/components/data-viewer/data-viewer.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,11 @@ export class DataViewerComponent implements OnInit, OnChanges {
241241
this.data = this.hashCachedData.slice(start, end + 1);
242242
}
243243
} else if (type === 'string') {
244-
this.stringValue = this.pageData.item.value;
244+
this.loadingPageData = true;
245+
this.redisService.call(instanceId, [['GET', key]]).subscribe(ret => {
246+
this.loadingPageData = false;
247+
this.stringValue = ret[0];
248+
});
245249
}
246250
}
247251

0 commit comments

Comments
 (0)