Skip to content

Commit

Permalink
Fix login refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyslav-tk committed Sep 29, 2023
1 parent 38f1ba4 commit 949d48b
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 949d48b

Please sign in to comment.