aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/common
diff options
context:
space:
mode:
authorAhmed <ahmed.eldeeb.ext@orange.com>2020-02-26 17:47:04 +0200
committerKAPIL SINGAL <ks220y@att.com>2020-02-26 17:08:55 +0000
commit71f6d98f1003dc9acc212e4132f03bb21c0b73c8 (patch)
tree8ffa7ce953617c621a81422861d01aacc10eb182 /cds-ui/designer-client/src/app/common
parentf627cd4269989b22edfcac044ea3a764fbc3ee68 (diff)
adding view package tabs
Issue-ID: CCSDK-2120 Signed-off-by: ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I21af8c2b193b3fec4e5bc59e44b7a3b852f3b784
Diffstat (limited to 'cds-ui/designer-client/src/app/common')
-rw-r--r--cds-ui/designer-client/src/app/common/core/stores/Store.ts6
1 files changed, 5 insertions, 1 deletions
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<T> {
@@ -19,4 +19,8 @@ export class Store<T> {
this.subject.next(nextState);
}
+ public unsubscribe() {
+ this.subject.unsubscribe();
+ }
+
}