Skip to content
Snippets Groups Projects
postfach-page-container.component.ts 802 B
Newer Older
  • Learn to ignore specific revisions
  • import { Component, OnInit } from '@angular/core';
    
    import { ON_PAGE, PostfachMailListResource, PostfachService } from '@goofy-client/postfach-shared';
    
    import { StateResource } from '@goofy-client/tech-shared';
    import { Observable } from 'rxjs';
    
    
    @Component({
    
    	selector: 'goofy-client-postfach-page-container',
    	templateUrl: './postfach-page-container.component.html',
    
    	styleUrls: ['./postfach-page-container.component.scss'],
    	providers: [{ provide: ON_PAGE, useValue: true }
    	]
    
    export class PostfachPageContainerComponent implements OnInit {
    
    	postfachMailListStateResource$: Observable<StateResource<PostfachMailListResource>>;
    
    
    	constructor(private postfachService: PostfachService) { }
    
    		this.postfachMailListStateResource$ = this.postfachService.getPostfachMailsByVorgang();