Skip to content

Commit 505ecf8

Browse files
authored
Merge pull request topcoderinc#412 from topcoderinc/issue-253
fixes issue 253
2 parents fbc93ae + c26988a commit 505ecf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export class DataViewerComponent implements OnInit, OnChanges {
288288
*/
289289
onSaveString() {
290290
if (this.pageData.item.value.trim() === '') {
291-
this.snackBar.open('The value cannot be empty.', 'OK', {duration: 3000});
291+
this.util.showMessage('The value cannot be empty.');
292292
} else {
293293
this.pageData.item.value = this.pageData.item.value.trim();
294294
this.redisService.call(this.pageData.id,

0 commit comments

Comments
 (0)