Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix SDKs init when no sdk found in Webapp.
[src/xds/xds-server.git]
/
webapp
/
src
/
app
/
common
/
sdk.service.ts
diff --git
a/webapp/src/app/common/sdk.service.ts
b/webapp/src/app/common/sdk.service.ts
index
3f2f32a
..
19c49d9
100644
(file)
--- a/
webapp/src/app/common/sdk.service.ts
+++ b/
webapp/src/app/common/sdk.service.ts
@@
-34,6
+34,10
@@
export class SdkService {
this.current = s;
}
+ public getCurrent(): ISdk {
+ return this.current;
+ }
+
public getCurrentId(): string {
if (this.current && this.current.id) {
return this.current.id;