Fix SDKs init when no sdk found in Webapp.
[src/xds/xds-server.git] / webapp / src / app / common / sdk.service.ts
index 3f2f32a..19c49d9 100644 (file)
@@ -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;