mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
@@ -28,8 +28,8 @@ export const InstallCommandsMenu = forwardRef<HTMLButtonElement, ButtonProps>((p
|
||||
if (!copy) {
|
||||
try {
|
||||
setCopy(true);
|
||||
if (settings)
|
||||
await navigator.clipboard.writeText(generateCommand(type, settings));
|
||||
if (config)
|
||||
await navigator.clipboard.writeText(generateCommand(type, settings) || '');
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
toast(t("Error"), {
|
||||
|
||||
Reference in New Issue
Block a user