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