diff --git a/ui/src/components/AesKeyInput.tsx b/ui/src/components/AesKeyInput.tsx index e23ab68d..334fd5c2 100644 --- a/ui/src/components/AesKeyInput.tsx +++ b/ui/src/components/AesKeyInput.tsx @@ -96,6 +96,12 @@ function AesKeyInput(props: IProps) { duration: 3, }); }); + } else { + notification.error({ + message: "Error", + description: "Clipboard functionality is not available.", + duration: 3, + }); } }; diff --git a/ui/src/components/DevAddrInput.tsx b/ui/src/components/DevAddrInput.tsx index e72f6795..d372be6e 100644 --- a/ui/src/components/DevAddrInput.tsx +++ b/ui/src/components/DevAddrInput.tsx @@ -99,6 +99,12 @@ function DevAddrInput(props: IProps) { duration: 3, }); }); + } else { + notification.error({ + message: "Error", + description: "Clipboard functionality is not available.", + duration: 3, + }); } }; diff --git a/ui/src/components/EuiInput.tsx b/ui/src/components/EuiInput.tsx index 791f8361..ba95ed5c 100644 --- a/ui/src/components/EuiInput.tsx +++ b/ui/src/components/EuiInput.tsx @@ -96,6 +96,12 @@ function EuiInput(props: IProps) { duration: 3, }); }); + } else { + notification.error({ + message: "Error", + description: "Clipboard functionality is not available.", + duration: 3, + }); } };