Skip to content

Commit

Permalink
bugfix: fix certificate not being stored locally (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian93 committed Jan 13, 2023
1 parent b754766 commit 65a8f44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
18 changes: 3 additions & 15 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@ export namespace Components {
interface NumQuestionnaireTree {
}
}
export interface NumQuestionnaireConfirmCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLNumQuestionnaireConfirmElement;
}
export interface NumQuestionnaireQuestionCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLNumQuestionnaireQuestionElement;
}
export interface NumQuestionnaireTreeCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLNumQuestionnaireTreeElement;
}
declare global {
interface HTMLAppRootElement extends Components.AppRoot, HTMLStencilElement {
}
Expand Down Expand Up @@ -182,17 +170,17 @@ declare namespace LocalJSX {
interface NumNotifications {
}
interface NumQuestionnaireConfirm {
"onSwitchDisplayMode"?: (event: NumQuestionnaireConfirmCustomEvent<any>) => void;
"onSwitchDisplayMode"?: (event: CustomEvent<any>) => void;
}
interface NumQuestionnaireQuestion {
"history"?: RouterHistory;
"linkId"?: string;
"onSwitchDisplayMode"?: (event: NumQuestionnaireQuestionCustomEvent<any>) => void;
"onSwitchDisplayMode"?: (event: CustomEvent<any>) => void;
}
interface NumQuestionnaireSuccess {
}
interface NumQuestionnaireTree {
"onSwitchDisplayMode"?: (event: NumQuestionnaireTreeCustomEvent<any>) => void;
"onSwitchDisplayMode"?: (event: CustomEvent<any>) => void;
}
interface IntrinsicElements {
"app-root": AppRoot;
Expand Down
1 change: 1 addition & 0 deletions src/components/authenticate/authenticate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class Authenticate {
this.isPersistenceChosen ? persistence.enable() : persistence.disable();
stores.user.populateFromUserResponse(userResponse);
stores.auth.login(userId);
services.user.refresh()
} catch ({ status = 0 }) {
services.notifier.showError(`authenticate.error.code_${status}`);
this.isAuthenticating = false;
Expand Down

0 comments on commit 65a8f44

Please sign in to comment.