WIP modal
This commit is contained in:
parent
b681a5a9af
commit
fda22acffe
4 changed files with 60 additions and 13 deletions
|
|
@ -15,6 +15,7 @@ import { FetchLogService } from 'src/app/shared/services/fetch-log.service';
|
|||
export class ChangelogComponent {
|
||||
|
||||
public displayableLogs: string[] = [];
|
||||
showLogModal:boolean = false;
|
||||
|
||||
constructor(
|
||||
private httpClient: HttpClient,
|
||||
|
|
@ -67,6 +68,13 @@ export class ChangelogComponent {
|
|||
}
|
||||
|
||||
viewLog(name:string){
|
||||
new FetchLogService(this.httpClient).fetchLogsToDisplay("", true, false, name);
|
||||
let cli = new FetchLogService(this.httpClient);
|
||||
this.showLogModal = !this.showLogModal;
|
||||
cli.fetchLogsToDisplay("", true, false, name);
|
||||
cli.fetchLogsToDisplay("", false, false, name);
|
||||
}
|
||||
|
||||
toggleLogModal(){
|
||||
this.showLogModal = !this.showLogModal;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue