add display merged files. WIP json display
This commit is contained in:
parent
a5f4d48aad
commit
e7bb2639cd
7 changed files with 250 additions and 44 deletions
|
|
@ -15,12 +15,7 @@ export class FetchLogService {
|
|||
|
||||
|
||||
public fetchLogsToDisplay(query: string, isDisplayOnly: boolean, requestJson: boolean, filename:string) : Map<string, string> | void{
|
||||
let additionalParams:string = "?query=";
|
||||
if(query != ""){
|
||||
additionalParams += query
|
||||
} else {
|
||||
additionalParams = ""
|
||||
}
|
||||
let additionalParams:string = "?query="+query;
|
||||
|
||||
let jsontarget;
|
||||
|
||||
|
|
@ -35,6 +30,9 @@ export class FetchLogService {
|
|||
}).subscribe({
|
||||
next: (value: any) => {
|
||||
jsontarget = value;
|
||||
if(query == "merge"){
|
||||
document.getElementById("merge-json-disp-texts")!.innerHTML = jsontarget;
|
||||
}
|
||||
},
|
||||
error: (err: any) => {
|
||||
console.error('Error fetch json: ',err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue