From 26ddc117ea9941d2d169e5ba1dbe40306be24c18 Mon Sep 17 00:00:00 2001
From: Anoop HM <anoophm44@gmail.com>
Date: Thu, 3 Jan 2019 09:33:57 +0530
Subject: [PATCH] Issue # SB-0000 fix: tenant logo issue (#1290)

---
 src/app/client/src/app/app.component.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/client/src/app/app.component.ts b/src/app/client/src/app/app.component.ts
index 7a269627d6..11ec9efc74 100644
--- a/src/app/client/src/app/app.component.ts
+++ b/src/app/client/src/app/app.component.ts
@@ -172,7 +172,7 @@ export class AppComponent implements OnInit {
           return throwError(user.err);
         }
         this.userProfile = user.userProfile;
-        this.slug = _.get(this.userProfile, 'userProfile.rootOrg.slug');
+        this.slug = _.get(this.userProfile, 'rootOrg.slug');
         this.channel = this.userService.hashTagId;
         return of(user.userProfile);
     }));
-- 
GitLab