1
0
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:
Cesar Gonzalez 2024-06-11 08:42:04 -05:00
parent 856851c5e9
commit f7e2d7cd02
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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),
};