Skip to content

Commit

Permalink
Merge pull request #1105 from swissgeol/GSNGM-1027_fix_login_refresh
Browse files Browse the repository at this point in the history
Fix login refresh
  • Loading branch information
vladyslav-tk authored Oct 2, 2023
2 parents 0c37b1c + 949d48b commit 3dfc3aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/elements/ngm-auth.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {html} from 'lit';
import type {AuthUser} from '../auth';
import Auth from '../auth';
import i18next from 'i18next';
import {LitElementI18n} from '../i18n.js';
import auth from '../store/auth';
import {classMap} from 'lit/directives/class-map.js';
import {customElement, property} from 'lit/decorators.js';
import type {AuthUser} from '../auth';
import {customElement, property, state} from 'lit/decorators.js';


/**
Expand All @@ -15,7 +15,7 @@ import type {AuthUser} from '../auth';
export class NgmAuth extends LitElementI18n {
@property({type: String}) endpoint: string | undefined;
@property({type: String}) clientId: string | undefined;
private user: AuthUser | null = null;
@state() user: AuthUser | null = null;
private popup: Window | null = null;

constructor() {
Expand Down

0 comments on commit 3dfc3aa

Please sign in to comment.