From 124cdb3a3eb5ca78b8aba44859fb8434b36ff64b Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Wed, 16 Mar 2022 13:40:30 +0000 Subject: [PATCH] work on a few things idk --- src/ui/elements/CopyableBox.tsx | 5 ++-- src/ui/elements/InlineButtonBox.tsx | 9 ++++++++ .../Access/Auth/userpass/UserPassUserView.tsx | 5 ++-- src/ui/pages/Policies/PoliciesHome.tsx | 5 ++-- src/ui/pages/Policies/PolicyView.tsx | 5 ++-- .../pages/Secrets/KeyValue/KeyValueList.tsx | 5 ++-- src/ui/pages/Secrets/SecretsHome.tsx | 23 +++++++++---------- src/ui/pages/Secrets/TOTP/TOTPList.tsx | 5 ++-- src/ui/pages/Secrets/Transit/TransitList.tsx | 5 ++-- .../pages/Settings/KVLoadExportSettings.tsx | 9 ++++++++ src/ui/pages/Settings/Settings.tsx | 2 ++ 11 files changed, 52 insertions(+), 26 deletions(-) create mode 100644 src/ui/elements/InlineButtonBox.tsx create mode 100644 src/ui/pages/Settings/KVLoadExportSettings.tsx diff --git a/src/ui/elements/CopyableBox.tsx b/src/ui/elements/CopyableBox.tsx index 0771300..0eebd8f 100644 --- a/src/ui/elements/CopyableBox.tsx +++ b/src/ui/elements/CopyableBox.tsx @@ -5,6 +5,7 @@ import { addClipboardNotifications } from "../../utils/clipboardNotifs"; import ClipboardJS from "clipboard"; import FileSaver from "file-saver"; import i18next from "i18next"; +import { InlineButtonBox } from "./InlineButtonBox"; export type CopyableBoxProps = { title: string; @@ -34,7 +35,7 @@ export class CopyableBox extends Component {

{this.props.title}

-

+