mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 12:06:55 +01:00
add a simple log viewer to the front end
This commit is contained in:
parent
2b0b3a70a7
commit
323e0fa348
9 changed files with 124 additions and 3 deletions
14
src-ui/src/app/services/rest/log.service.ts
Normal file
14
src-ui/src/app/services/rest/log.service.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { HttpClient } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { PaperlessLog } from 'src/app/data/paperless-log';
|
||||
import { AbstractPaperlessService } from './abstract-paperless-service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class LogService extends AbstractPaperlessService<PaperlessLog> {
|
||||
|
||||
constructor(http: HttpClient) {
|
||||
super(http, 'logs')
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue