mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-25 06:39:53 -04:00
feat(asb): add trace flag for stdout (#366)
* fix(asb): include trace option in raw arguments * feat(asb): Add --trace flag
This commit is contained in:
parent
274c630aba
commit
a33ebfbb3a
5 changed files with 79 additions and 16 deletions
|
@ -9,6 +9,7 @@ import { getDataDir, initializeContext } from "renderer/rpc";
|
|||
import { relaunch } from "@tauri-apps/plugin-process";
|
||||
import RotateLeftIcon from "@material-ui/icons/RotateLeft";
|
||||
import { revealItemInDir } from "@tauri-apps/plugin-opener";
|
||||
import { TauriContextStatusEvent } from "models/tauriModel";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
actionsOuter: {
|
||||
|
@ -24,13 +25,13 @@ export default function DaemonControlBox() {
|
|||
|
||||
// The daemon can be manually started if it has failed or if it has not been started yet
|
||||
const canContextBeManuallyStarted = useAppSelector(
|
||||
(s) => s.rpc.status?.type === "Failed" || s.rpc.status === null,
|
||||
(s) => s.rpc.status === TauriContextStatusEvent.Failed || s.rpc.status === null,
|
||||
);
|
||||
const isContextInitializing = useAppSelector(
|
||||
(s) => s.rpc.status?.type === "Initializing",
|
||||
(s) => s.rpc.status === TauriContextStatusEvent.Initializing,
|
||||
);
|
||||
|
||||
const stringifiedDaemonStatus = useAppSelector((s) => s.rpc.status?.type ?? "not started");
|
||||
const stringifiedDaemonStatus = useAppSelector((s) => s.rpc.status ?? "not started");
|
||||
|
||||
return (
|
||||
<InfoBox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue