switch of message type is applied

This commit is contained in:
2019-10-08 16:41:23 +09:00
parent f72100c4f5
commit d7a1a398d3
2 changed files with 8 additions and 1 deletions

View File

@@ -8,6 +8,11 @@
contact: message.senderSeq !== loginRes.userSeq
}"
>
<ng-container [ngSwitch]="message.type">
<div *ngSwitchCase="EventType.Character">Character</div>
<div *ngSwitchCase="EventType.Join">Join</div>
</ng-container>
<img *ngIf="" src="" class="avatar" />
<div class="bubble">