mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-10 19:38:11 +01:00
[PM-5189] Fixing a typo
This commit is contained in:
parent
856851c5e9
commit
f7e2d7cd02
@ -2,12 +2,12 @@ import { AuthenticationStatus } from "@bitwarden/common/auth/enums/authenticatio
|
|||||||
|
|
||||||
import { InlineMenuCipherData } from "../../../background/abstractions/overlay.background";
|
import { InlineMenuCipherData } from "../../../background/abstractions/overlay.background";
|
||||||
|
|
||||||
type AutofillInlineMenuMenuContainerMessage = {
|
type AutofillInlineMenuContainerMessage = {
|
||||||
command: string;
|
command: string;
|
||||||
portKey: string;
|
portKey: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type InitInlineMenuElementMessage = AutofillInlineMenuMenuContainerMessage & {
|
export type InitInlineMenuElementMessage = AutofillInlineMenuContainerMessage & {
|
||||||
iframeUrl?: string;
|
iframeUrl?: string;
|
||||||
pageTitle?: string;
|
pageTitle?: string;
|
||||||
authStatus?: AuthenticationStatus;
|
authStatus?: AuthenticationStatus;
|
||||||
@ -18,7 +18,7 @@ export type InitInlineMenuElementMessage = AutofillInlineMenuMenuContainerMessag
|
|||||||
portName?: string;
|
portName?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type AutofillInlineMenuMenuContainerWindowMessageHandlers = {
|
export type AutofillInlineMenuContainerWindowMessageHandlers = {
|
||||||
[key: string]: CallableFunction;
|
[key: string]: CallableFunction;
|
||||||
initAutofillInlineMenuList: (message: InitInlineMenuElementMessage) => void;
|
initAutofillInlineMenuList: (message: InitInlineMenuElementMessage) => void;
|
||||||
initAutofillInlineMenuButton: (message: InitInlineMenuElementMessage) => void;
|
initAutofillInlineMenuButton: (message: InitInlineMenuElementMessage) => void;
|
||||||
|
@ -3,7 +3,7 @@ import { EVENTS } from "@bitwarden/common/autofill/constants";
|
|||||||
import { setElementStyles } from "../../../../utils";
|
import { setElementStyles } from "../../../../utils";
|
||||||
import {
|
import {
|
||||||
InitInlineMenuElementMessage,
|
InitInlineMenuElementMessage,
|
||||||
AutofillInlineMenuMenuContainerWindowMessageHandlers,
|
AutofillInlineMenuContainerWindowMessageHandlers,
|
||||||
} from "../../abstractions/autofill-inline-menu-container";
|
} from "../../abstractions/autofill-inline-menu-container";
|
||||||
|
|
||||||
export class AutofillInlineMenuContainer {
|
export class AutofillInlineMenuContainer {
|
||||||
@ -36,7 +36,7 @@ export class AutofillInlineMenuContainer {
|
|||||||
allowtransparency: "true",
|
allowtransparency: "true",
|
||||||
tabIndex: "-1",
|
tabIndex: "-1",
|
||||||
};
|
};
|
||||||
private windowMessageHandlers: AutofillInlineMenuMenuContainerWindowMessageHandlers = {
|
private windowMessageHandlers: AutofillInlineMenuContainerWindowMessageHandlers = {
|
||||||
initAutofillInlineMenuList: (message) => this.handleInitInlineMenuIframe(message),
|
initAutofillInlineMenuList: (message) => this.handleInitInlineMenuIframe(message),
|
||||||
initAutofillInlineMenuButton: (message) => this.handleInitInlineMenuIframe(message),
|
initAutofillInlineMenuButton: (message) => this.handleInitInlineMenuIframe(message),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user