mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-19 09:40:13 +00:00
committed by
GitHub
co-authored by
naiba
parent
c98632bc17
commit
f3a5f04392
@@ -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