mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-27 03:06:24 -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
|
|
@ -52,7 +52,7 @@ export function getLinesOfString(data: string): string[] {
|
|||
.filter((l) => l.length > 0);
|
||||
}
|
||||
|
||||
export function getLogsAndStringsFromRawFileString(
|
||||
export function parseLogsFromString(
|
||||
rawFileData: string,
|
||||
): (CliLog | string)[] {
|
||||
return getLinesOfString(rawFileData).map(parseCliLogString);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue