From 71f6d98f1003dc9acc212e4132f03bb21c0b73c8 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Wed, 26 Feb 2020 17:47:04 +0200 Subject: adding view package tabs Issue-ID: CCSDK-2120 Signed-off-by: ahmedeldeeb50 Change-Id: I21af8c2b193b3fec4e5bc59e44b7a3b852f3b784 --- cds-ui/designer-client/src/app/common/core/stores/Store.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cds-ui/designer-client/src/app/common') diff --git a/cds-ui/designer-client/src/app/common/core/stores/Store.ts b/cds-ui/designer-client/src/app/common/core/stores/Store.ts index 1d5b0afc1..0be804270 100644 --- a/cds-ui/designer-client/src/app/common/core/stores/Store.ts +++ b/cds-ui/designer-client/src/app/common/core/stores/Store.ts @@ -1,4 +1,4 @@ -import {Observable, BehaviorSubject} from 'rxjs'; +import { Observable, BehaviorSubject } from 'rxjs'; import { Injectable } from '@angular/core'; export class Store { @@ -19,4 +19,8 @@ export class Store { this.subject.next(nextState); } + public unsubscribe() { + this.subject.unsubscribe(); + } + } -- cgit