Fixed the preset themes not loading

This commit is contained in:
tidusjar 2017-12-01 15:44:47 +00:00
commit 97b9899fac

View file

@ -116,7 +116,7 @@ export class SettingsService extends ServiceHelpers {
}
public getThemeContent(themeUrl: string): Observable<string> {
return this.http.get<string>(`${this.url}/themecontent?url=${themeUrl}`, {headers: this.headers});
return this.http.get(`${this.url}/themecontent?url=${themeUrl}`, {responseType: 'text', headers: this.headers});
}
public getEmailNotificationSettings(): Observable<IEmailNotificationSettings> {