bug fixed

This commit is contained in:
richard-loafle 2020-01-22 15:00:06 +09:00
parent e46522734a
commit 85200f420d
2 changed files with 7 additions and 1 deletions

View File

@ -430,7 +430,7 @@
</mat-radio-group>
</mat-menu>
<mat-menu #informationMenu="matMenu">
<mat-menu #informationMenu="matMenu" (closed)="onClosedInformationMenu($event)">
<div class="version-info-container" (click)="$event.stopPropagation()">
<div style="display: flex;">
<span>{{ 'information.version' | translate }}: {{ appVersion }}</span>

View File

@ -499,6 +499,12 @@ export class TopBarComponent implements OnInit, OnDestroy {
);
}
onClosedInformationMenu() {
this.checkingUpdate = false;
this.checkingUpdateIsProcessing = false;
this.checkingUpdateAppVersion = undefined;
}
onClickCheckUpdate(event: Event) {
this.checkingUpdate = true;
this.checkingUpdateIsProcessing = true;