mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-09 19:28:06 +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";
|
||||
|
||||
type AutofillInlineMenuMenuContainerMessage = {
|
||||
type AutofillInlineMenuContainerMessage = {
|
||||
command: string;
|
||||
portKey: string;
|
||||
};
|
||||
|
||||
export type InitInlineMenuElementMessage = AutofillInlineMenuMenuContainerMessage & {
|
||||
export type InitInlineMenuElementMessage = AutofillInlineMenuContainerMessage & {
|
||||
iframeUrl?: string;
|
||||
pageTitle?: string;
|
||||
authStatus?: AuthenticationStatus;
|
||||
@ -18,7 +18,7 @@ export type InitInlineMenuElementMessage = AutofillInlineMenuMenuContainerMessag
|
||||
portName?: string;
|
||||
};
|
||||
|
||||
export type AutofillInlineMenuMenuContainerWindowMessageHandlers = {
|
||||
export type AutofillInlineMenuContainerWindowMessageHandlers = {
|
||||
[key: string]: CallableFunction;
|
||||
initAutofillInlineMenuList: (message: InitInlineMenuElementMessage) => void;
|
||||
initAutofillInlineMenuButton: (message: InitInlineMenuElementMessage) => void;
|
||||
|
@ -3,7 +3,7 @@ import { EVENTS } from "@bitwarden/common/autofill/constants";
|
||||
import { setElementStyles } from "../../../../utils";
|
||||
import {
|
||||
InitInlineMenuElementMessage,
|
||||
AutofillInlineMenuMenuContainerWindowMessageHandlers,
|
||||
AutofillInlineMenuContainerWindowMessageHandlers,
|
||||
} from "../../abstractions/autofill-inline-menu-container";
|
||||
|
||||
export class AutofillInlineMenuContainer {
|
||||
@ -36,7 +36,7 @@ export class AutofillInlineMenuContainer {
|
||||
allowtransparency: "true",
|
||||
tabIndex: "-1",
|
||||
};
|
||||
private windowMessageHandlers: AutofillInlineMenuMenuContainerWindowMessageHandlers = {
|
||||
private windowMessageHandlers: AutofillInlineMenuContainerWindowMessageHandlers = {
|
||||
initAutofillInlineMenuList: (message) => this.handleInitInlineMenuIframe(message),
|
||||
initAutofillInlineMenuButton: (message) => this.handleInitInlineMenuIframe(message),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user