mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
Saved views, some refactoring
This commit is contained in:
parent
6afdf666fd
commit
d1e10754a5
43 changed files with 461 additions and 232 deletions
|
|
@ -7,6 +7,7 @@ import { PaperlessDocument } from 'src/app/data/paperless-document';
|
|||
import { AuthService } from 'src/app/services/auth.service';
|
||||
import { OpenDocumentsService } from 'src/app/services/open-documents.service';
|
||||
import { SearchService } from 'src/app/services/rest/search.service';
|
||||
import { SavedViewConfigService } from 'src/app/services/saved-view-config.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-app-frame',
|
||||
|
|
@ -15,7 +16,13 @@ import { SearchService } from 'src/app/services/rest/search.service';
|
|||
})
|
||||
export class AppFrameComponent implements OnInit, OnDestroy {
|
||||
|
||||
constructor (public router: Router, private openDocumentsService: OpenDocumentsService, private authService: AuthService, private searchService: SearchService) {
|
||||
constructor (
|
||||
public router: Router,
|
||||
private openDocumentsService: OpenDocumentsService,
|
||||
private authService: AuthService,
|
||||
private searchService: SearchService,
|
||||
public viewConfigService: SavedViewConfigService
|
||||
) {
|
||||
}
|
||||
|
||||
searchField = new FormControl('')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue