mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-25 18:26:28 -05:00
feat(gui): Review logs before sending feedback (#301)
* add review buttons that open the attached logs before submitting feedback * add redact switches to redact transaction id's from attached logs
This commit is contained in:
parent
3fa31ba139
commit
e8084d65ec
9 changed files with 255 additions and 85 deletions
|
|
@ -53,7 +53,7 @@ export function parseCliLogString(log: string): CliLog | string {
|
|||
try {
|
||||
const parsed = JSON.parse(log);
|
||||
if (isCliLog(parsed)) {
|
||||
return parsed;
|
||||
return parsed as CliLog;
|
||||
} else {
|
||||
return log;
|
||||
}
|
||||
|
|
@ -61,3 +61,4 @@ export function parseCliLogString(log: string): CliLog | string {
|
|||
return log;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue