Commit 7baafd423146e0130658a985facf95eb527995ce
1 parent
bbbcf6d2
Report changes deployment fixed
Showing
1 changed file
with
6 additions
and
6 deletions
400-SOURCECODE/Admin/src/app/shared/global.ts
@@ -88,7 +88,7 @@ export class GlobalService { | @@ -88,7 +88,7 @@ export class GlobalService { | ||
88 | if (this.resourceBaseUrl == this.ProtocolType+"localhost/API/Adminapi/") { | 88 | if (this.resourceBaseUrl == this.ProtocolType+"localhost/API/Adminapi/") { |
89 | 89 | ||
90 | if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { | 90 | if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { |
91 | - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber | 91 | + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); |
92 | } | 92 | } |
93 | if (this.loggedInUser.LicenseInfo == null) { | 93 | if (this.loggedInUser.LicenseInfo == null) { |
94 | this.AccLicId = 0; | 94 | this.AccLicId = 0; |
@@ -97,7 +97,7 @@ export class GlobalService { | @@ -97,7 +97,7 @@ export class GlobalService { | ||
97 | } | 97 | } |
98 | else { | 98 | else { |
99 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; | 99 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; |
100 | - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber; | 100 | + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); |
101 | } | 101 | } |
102 | 102 | ||
103 | } | 103 | } |
@@ -107,7 +107,7 @@ export class GlobalService { | @@ -107,7 +107,7 @@ export class GlobalService { | ||
107 | { | 107 | { |
108 | this.LiveURL = this.ProtocolType+"interactiveanatomy.com"; | 108 | this.LiveURL = this.ProtocolType+"interactiveanatomy.com"; |
109 | if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { | 109 | if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { |
110 | - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber | 110 | + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); |
111 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; | 111 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; |
112 | } | 112 | } |
113 | if (this.loggedInUser.LicenseInfo == null) { | 113 | if (this.loggedInUser.LicenseInfo == null) { |
@@ -117,7 +117,7 @@ export class GlobalService { | @@ -117,7 +117,7 @@ export class GlobalService { | ||
117 | } | 117 | } |
118 | else { | 118 | else { |
119 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; | 119 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; |
120 | - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber; | 120 | + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); |
121 | } | 121 | } |
122 | } | 122 | } |
123 | 123 | ||
@@ -127,7 +127,7 @@ export class GlobalService { | @@ -127,7 +127,7 @@ export class GlobalService { | ||
127 | { | 127 | { |
128 | this.LiveURL = this.ProtocolType+"qa.beta.interactiveanatomy.com"; | 128 | this.LiveURL = this.ProtocolType+"qa.beta.interactiveanatomy.com"; |
129 | if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { | 129 | if (this.UserTypeName == "Client Admin" || this.UserTypeName == "District Admin") { |
130 | - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber | 130 | + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim(); |
131 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; | 131 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; |
132 | } | 132 | } |
133 | if (this.loggedInUser.LicenseInfo == null) { | 133 | if (this.loggedInUser.LicenseInfo == null) { |
@@ -137,7 +137,7 @@ export class GlobalService { | @@ -137,7 +137,7 @@ export class GlobalService { | ||
137 | } | 137 | } |
138 | else { | 138 | else { |
139 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; | 139 | this.AccLicId = this.loggedInUser.LicenseInfo.Id; |
140 | - this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber; | 140 | + this.AccountNumber = this.loggedInUser.LicenseInfo.AccountNumber.trim();; |
141 | } | 141 | } |
142 | } | 142 | } |
143 | 143 |