Skip to content
Snippets Groups Projects
Commit e6dd8c23 authored by ddamiron's avatar ddamiron
Browse files

implement OnDestroy in LogData components

parent 73758e2b
No related branches found
No related tags found
3 merge requests!10New updated datalog,!9add all datalog components and services into angular gui,!14Version 1.3.0
import { Component, OnChanges, SimpleChanges, Input } from '@angular/core';
import {Component, OnChanges, SimpleChanges, Input, OnDestroy } from '@angular/core';
import { DataLogsService } from 'src/app/services/data-logs.service';
import { PaginatorOptions } from 'src/app/models/paginator-options.model';
import { Subscription } from 'rxjs';
......@@ -8,7 +8,7 @@ import { Subscription } from 'rxjs';
templateUrl: './logs-sessions.component.html',
styleUrls: ['./logs-sessions.component.scss'],
})
export class LogsSessionsComponent implements OnChanges {
export class LogsSessionsComponent implements OnChanges, OnDestroy {
@Input() childNbSessions: number;
@Input() sessionsList: any;
......
import { Component, OnChanges, SimpleChanges, Input } from '@angular/core';
import {Component, OnChanges, SimpleChanges, Input, OnDestroy } from '@angular/core';
import { DataLogsService } from 'src/app/services/data-logs.service';
import { PaginatorOptions } from 'src/app/models/paginator-options.model';
import { Subscription } from 'rxjs';
......@@ -9,7 +9,7 @@ import { FilterPipe }from './filter.pipe';
templateUrl: './logs-slugs.component.html',
styleUrls: ['./logs-slugs.component.scss'],
})
export class LogsSlugsComponent implements OnChanges {
export class LogsSlugsComponent implements OnChanges, OnDestroy {
@Input() childNbSlugs: number;
@Input() slugsList: any;
......
import { Component, OnChanges, SimpleChanges, Input } from '@angular/core';
import { Component, OnChanges, SimpleChanges, Input, OnDestroy } from '@angular/core';
import { DataLogsService } from 'src/app/services/data-logs.service';
import { ActivatedRoute } from '@angular/router';
import { ILogs } from 'src/app/models/logs.model';
......@@ -10,7 +10,7 @@ import { Subscription } from 'rxjs';
templateUrl: './logs-error.component.html',
styleUrls: ['./logs-error.component.scss'],
})
export class LogsErrorComponent implements OnChanges {
export class LogsErrorComponent implements OnChanges, OnDestroy {
@Input() childUuid: string = '';
@Input() childSessionId: string = '';
@Input() childSlug: string;
......
import { Component, OnChanges, SimpleChanges, Input } from '@angular/core';
import { Component, OnChanges, SimpleChanges, Input, OnDestroy } from '@angular/core';
import { DataLogsService } from 'src/app/services/data-logs.service';
import { ActivatedRoute } from '@angular/router';
import { ILogs } from 'src/app/models/logs.model';
......@@ -10,7 +10,7 @@ import { Subscription } from 'rxjs';
templateUrl: './logs-info.component.html',
styleUrls: ['./logs-info.component.scss'],
})
export class LogsInfoComponent implements OnChanges {
export class LogsInfoComponent implements OnChanges, OnDestroy {
@Input() childUuid: string = '';
@Input() childSessionId: string = '';
@Input() childSlug: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment