fixed alex
This commit is contained in:
parent
23c39cbae2
commit
2d59388494
2 changed files with 10 additions and 9 deletions
|
@ -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} />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue