Skip to content

Commit 55c3af8

Browse files
Merge pull request #102 from nullinside-development-group/feat/login
feat: further clarifying that you should close the window
2 parents 177a838 + ed00aba commit 55c3af8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/src/app/view/login-landing-desktop/login-landing-desktop.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
@if (loggedIn) {
77
<h2>LOGGED IN SUCCESSFULLY!</h2>
88
<p>Please return to the desktop application...</p>
9+
<button mat-stroked-button color="primary" (click)="window.close()">
10+
Close
11+
</button>
912
} @else if (loading) {
1013
<app-loading-icon fontSize="24px" height="35px" width="35px">Logging in</app-loading-icon>
1114
} @else {

src/src/app/view/login-landing-desktop/login-landing-desktop.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,5 @@ export class LoginLandingDesktopComponent implements OnInit {
111111
}
112112

113113
protected readonly JSON = JSON;
114+
protected readonly window = window;
114115
}

0 commit comments

Comments
 (0)