diff options
author | Jongmok Hong <jongmok@google.com> | 2019-02-21 14:28:46 +0900 |
---|---|---|
committer | Jongmok Hong <jongmok@google.com> | 2019-02-21 15:01:50 +0900 |
commit | ff4dfe68c9ce17c9a9bb7b101cd3be5f48a9976c (patch) | |
tree | 22358be95095c57917a7857e6cd6936df4dd26ea | |
parent | 16f7e306b02219bc903b71462c4cbc5346749897 (diff) | |
download | test_serving-ff4dfe68c9ce17c9a9bb7b101cd3be5f48a9976c.tar.gz |
Clear a previous entity before showing an entity.
Tets: go/vtslab-schedule-dev
Bug: 125021352
Change-Id: I1ac0a0f61394066f07ff34b29bbf689c1fff0f1b
-rw-r--r-- | gae/frontend/src/app/app.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gae/frontend/src/app/app.component.ts b/gae/frontend/src/app/app.component.ts index 68b7e6d..1a2ef06 100644 --- a/gae/frontend/src/app/app.component.ts +++ b/gae/frontend/src/app/app.component.ts @@ -41,6 +41,7 @@ export class AppComponent { appService.closeSideNavEmitter.subscribe(() => {this.sideNavOpened = false}); appService.showDetailsEmitter.subscribe( (entity) => { + this.selectedEntity.length = 0; if (entity) { let self = this; Object.keys(entity).forEach(function(value){ |