fixed alex

This commit is contained in:
IDONTSUDO 2024-10-25 17:19:19 +03:00
parent 23c39cbae2
commit 2d59388494
2 changed files with 10 additions and 9 deletions

View file

@ -62,17 +62,18 @@ export const getModelCard = (
<Icon
type="Log"
onClick={async () => {
await navigator.clipboard.writeText(calculationModel.lastProcessLogs ?? "");
message.success("логи последнего запуска добавлены в буфер!");
}}
onClick={async () =>
window.prompt("Copy to clipboard: Ctrl+C, Enter", calculationModel.lastProcessLogs ?? "Not found logs")
}
/>
<Icon
type="Command"
onClick={async () => {
await navigator.clipboard.writeText(calculationModel.lastProcessExecCommand ?? "");
message.success("последняя команда запуска добавлена в буфер!");
}}
onClick={async () =>
window.prompt(
"Copy to clipboard: Ctrl+C, Enter",
calculationModel.lastProcessExecCommand ?? "Not last process command logs"
)
}
/>
</div>
<CoreText text={calculationModel.type} type={CoreTextType.small} />