Changeset View
Changeset View
Standalone View
Standalone View
src/app/notificationArchive/notificationArchive.component.ts
- This file was copied to src/app/_shared/myPosts/myPosts.component.ts.
import { Component, OnInit, OnDestroy, NgModule, ChangeDetectorRef } from '@angular/core'; | import { Component, OnInit, OnDestroy, NgModule, ChangeDetectorRef } from '@angular/core'; | ||||
import { Router, ActivatedRoute } from '@angular/router'; | import { Router, ActivatedRoute } from '@angular/router'; | ||||
import { Subject } from 'rxjs/Subject'; | import { Subject } from 'rxjs/Subject'; | ||||
import { Area } from '../_models/area'; | import { Area } from '../_models/area'; | ||||
import * as C from '../_models/constants'; | import * as C from '../_models/constants'; | ||||
import { Post } from '../_models/post'; | import { Post } from '../_models/post'; | ||||
import { NavBarService } from '../_services/navBar.service'; | import { NavBarService } from '../_services/navBar.service'; | ||||
import { NotificationService } from '../_services/notification.service'; | import { NotificationService } from '../_services/notification.service'; | ||||
import { RouteService } from '../_services/route.service'; | import { RouteService } from '../_services/route.service'; | ||||
import { NgxMasonryModule } from '../_modules/ngx-masonry/ngx-masonry.module'; | |||||
@Component({ | @Component({ | ||||
templateUrl: 'notificationArchive.component.html' | templateUrl: 'notificationArchive.component.html' | ||||
}) | }) | ||||
export class NotificationArchiveComponent implements OnInit, OnDestroy { | export class NotificationArchiveComponent implements OnInit, OnDestroy { | ||||
backupPosts: { [area: string]: Post[]; } = {}; | backupPosts: { [area: string]: Post[]; } = {}; | ||||
componentDestroyed: Subject<boolean> = new Subject(); | componentDestroyed: Subject<boolean> = new Subject(); | ||||
currentArea: string; | currentArea: string; | ||||
▲ Show 20 Lines • Show All 212 Lines • Show Last 20 Lines |