This commit is contained in:
richard-loafle 2020-02-14 15:30:53 +09:00
commit 64ea49ae09
6 changed files with 22 additions and 20 deletions

View File

@ -1,10 +1,5 @@
<div fxFlex fxLayout="column" fxLayoutAlign="center center"> <div fxFlex fxLayout="column" fxLayoutAlign="center center">
<div <div class="empty-logo" fxLayoutAlign="center center" fxLayout="column">
class="empty-logo"
fxLayoutAlign="center center"
fxLayout="column"
(click)="onClickStatusBar()"
>
<div <div
class="big-circle app-logo border-accent-color" class="big-circle app-logo border-accent-color"
fxLayoutAlign="center center" fxLayoutAlign="center center"

View File

@ -573,7 +573,8 @@ export class OrganizationComponent
data: { data: {
title: this.translateService.instant('organization.selectedUser'), title: this.translateService.instant('organization.selectedUser'),
selectedUserList: this.selectedUserList selectedUserList: this.selectedUserList
} },
restoreFocus: false
}); });
if (!!result && !!result.choice && result.choice) { if (!!result && !!result.choice && result.choice) {

View File

@ -22,13 +22,11 @@
</td> </td>
</ng-container> </ng-container>
<ng-container matColumnDef="regDate"> <ng-container matColumnDef="regDate">
<th mat-header-cell *matHeaderCellDef> <th mat-header-cell *matHeaderCellDef class="regDate">
{{ 'notice.fieldPostDate' | translate }} {{ 'notice.fieldPostDate' | translate }}
</th> </th>
<td mat-cell *matCellDef="let element" class="date"> <td mat-cell *matCellDef="let element" class="date">
<div class="date"> {{ element.regDate }}
{{ element.regDate }}
</div>
</td> </td>
</ng-container> </ng-container>
<tr <tr

View File

@ -38,6 +38,11 @@ $tablet-s-width: 768px;
th.infos { th.infos {
padding: 10px; padding: 10px;
text-align: center; text-align: center;
width: 80%;
}
th.regDate {
padding: 10px;
text-align: center;
} }
tr.mat-row { tr.mat-row {
height: 70px; height: 70px;
@ -59,10 +64,9 @@ $tablet-s-width: 768px;
} }
} }
.date { .date {
.date { text-align: right;
font-size: 0.8em; font-size: 0.8em;
text-align: right; padding-right: 17px;
}
} }
} }
} }

View File

@ -17,7 +17,6 @@
<div class="chat-messages bg-accent-brightest"> <div class="chat-messages bg-accent-brightest">
<!-- <div <!-- <div
#statusbarContainer #statusbarContainer
*ngIf="false"
class="messenger-statusbar-container bg-accent-darkest" class="messenger-statusbar-container bg-accent-darkest"
> >
<div class="messenger-statusbar-message"> <div class="messenger-statusbar-message">

View File

@ -92,7 +92,8 @@ import {
NotificationRequest, NotificationRequest,
NativeService, NativeService,
UCAP_NATIVE_SERVICE, UCAP_NATIVE_SERVICE,
NotificationType NotificationType,
WindowState
} from '@ucap-webmessenger/native'; } from '@ucap-webmessenger/native';
import { StringUtil, DialogService } from '@ucap-webmessenger/ui'; import { StringUtil, DialogService } from '@ucap-webmessenger/ui';
import { import {
@ -208,9 +209,10 @@ export class AppNotificationService {
(state: any) => (state: any) =>
state.messenger.sync.room.entities as Dictionary<RoomInfo> state.messenger.sync.room.entities as Dictionary<RoomInfo>
) )
) ),
this.nativeService.windowStateChanged()
), ),
tap(([notiOrRes, curRoomInfo, roomList]) => { tap(([notiOrRes, curRoomInfo, roomList, windowStateChanged]) => {
switch (notiOrRes.SSVC_TYPE) { switch (notiOrRes.SSVC_TYPE) {
case SSVC_TYPE_EVENT_SEND_RES: case SSVC_TYPE_EVENT_SEND_RES:
case SSVC_TYPE_EVENT_SEND_NOTI: case SSVC_TYPE_EVENT_SEND_NOTI:
@ -243,7 +245,10 @@ export class AppNotificationService {
if ( if (
!!curRoomInfo && !!curRoomInfo &&
!!curRoomInfo.roomSeq && !!curRoomInfo.roomSeq &&
curRoomInfo.roomSeq === noti.roomSeq curRoomInfo.roomSeq === noti.roomSeq &&
!!windowStateChanged &&
windowStateChanged !== WindowState.Minimized &&
windowStateChanged !== WindowState.Hidden
) { ) {
doNoti = false; doNoti = false;
} }