bugfix
This commit is contained in:
parent
bf6a5c3669
commit
29ec8492ae
|
@ -1,6 +1,5 @@
|
|||
<div class="date-split">
|
||||
<span class="line"></span>
|
||||
<!-- {{ message.sendDate | date: 'short' }} -->
|
||||
<span class="date">{{ dateInfo }}2019.10.3</span>
|
||||
<span class="date">{{ dateInfo }}</span>
|
||||
<span class="line"></span>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@ export class DateSplitterComponent implements OnInit {
|
|||
ngOnInit() {
|
||||
this.dateInfo = this.datePipe.transform(
|
||||
this.message.sendDate,
|
||||
'yyyy-MM-dd EEE'
|
||||
'yyyy.MM.dd EEE'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<p>
|
||||
<div>
|
||||
{{ contents }}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
<div class="bubble-main">
|
||||
<span>
|
||||
<span class="content">
|
||||
{{ content }}
|
||||
</span>
|
||||
<span>
|
||||
{{ message.sendDate | date: 'short' }}
|
||||
</span>
|
||||
</div>
|
||||
{{detailButteonShow}}
|
||||
<div *ngIf="detailButteonShow" class="btn-box">
|
||||
<button mat-button (click)="onClickDetailView()">Detail View</button>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
@charset 'utf-8';
|
||||
@import '../../../../ucap-webmessenger-app/src/assets/scss/global/common.scss';
|
||||
.bubble-main {
|
||||
padding: 14px;
|
||||
text-align: left;
|
||||
.content {
|
||||
max-width: 250px;
|
||||
@include ellipsis(1);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-box {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
<div class="chat-messages">
|
||||
<!-- MESSAGE -->
|
||||
<ucap-chat-message-box-date-splitter *ngIf="getDateSplitter(i)" [message]="message">
|
||||
</ucap-chat-message-box-date-splitter>
|
||||
|
||||
<div
|
||||
*ngFor="let message of messages; let i = index"
|
||||
class="message-row"
|
||||
|
@ -11,6 +8,13 @@
|
|||
contact: message.senderSeq !== loginRes.userSeq
|
||||
}"
|
||||
>
|
||||
<div>
|
||||
<ucap-chat-message-box-date-splitter
|
||||
*ngIf="getDateSplitter(i)"
|
||||
[message]="message"
|
||||
>
|
||||
</ucap-chat-message-box-date-splitter>
|
||||
</div>
|
||||
|
||||
<div
|
||||
*ngIf="getIsInformation(message); then information; else contents"
|
||||
|
|
Loading…
Reference in New Issue
Block a user