diff --git a/src/action/containers/FormCategoryHeader/index.jsx b/src/action/containers/FormCategoryHeader/index.jsx index 2044456..029a54b 100644 --- a/src/action/containers/FormCategoryHeader/index.jsx +++ b/src/action/containers/FormCategoryHeader/index.jsx @@ -2,7 +2,7 @@ import { Trans } from '@lingui/react/macro' import { ButtonLittle } from '../../../shared/components/ButtonLittle' import { ButtonRoundIcon } from '../../../shared/components/ButtonRoundIcon' -import { MenuDropdown } from '../../../shared/components/MenuDropDown' +import { MenuDropdown } from '../../../shared/components/MenuDropdown' import { useRouter } from '../../../shared/context/RouterContext' import { useRecordMenuItems } from '../../../shared/hooks/useRecordMenuItems' import { SaveIcon } from '../../../shared/icons/SaveIcon' diff --git a/src/action/pages/RecordList/index.jsx b/src/action/pages/RecordList/index.jsx index 94fa86d..79bce2b 100644 --- a/src/action/pages/RecordList/index.jsx +++ b/src/action/pages/RecordList/index.jsx @@ -30,7 +30,7 @@ import { CopyIcon } from '../../../shared/icons/CopyIcon' import { DeleteIcon } from '../../../shared/icons/DeleteIcon' import { GroupIcon } from '../../../shared/icons/GroupIcon' import { LockCircleIcon } from '../../../shared/icons/LockCircleIcon' -import { LogoutIcon } from '../../../shared/icons/logoutIcon' +import { LogoutIcon } from '../../../shared/icons/LogoutIcon' import { MultiSelectionIcon } from '../../../shared/icons/MultiSelectionIcon' import { SettingsIcon } from '../../../shared/icons/SettingsIcon' import { TimeIcon } from '../../../shared/icons/TimeIcon' diff --git a/src/contentPopups/views/Autofill/index.jsx b/src/contentPopups/views/Autofill/index.jsx index 4002119..6ca0631 100644 --- a/src/contentPopups/views/Autofill/index.jsx +++ b/src/contentPopups/views/Autofill/index.jsx @@ -18,6 +18,10 @@ export const Autofill = () => { const { filteredRecords } = useFilteredRecords() const handleAutofillLogin = (record) => { + const targetOrigin = document.referrer + ? new URL(document.referrer).origin + : '*' + window.parent.postMessage( { type: 'autofillLogin', @@ -28,7 +32,7 @@ export const Autofill = () => { password: record?.data?.password } }, - '*' + targetOrigin ) }