Fixed the preset themes not loading

pull/1805/head
tidusjar 7 years ago
parent 02135bc550
commit 97b9899fac

@ -116,7 +116,7 @@ export class SettingsService extends ServiceHelpers {
} }
public getThemeContent(themeUrl: string): Observable<string> { 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> { public getEmailNotificationSettings(): Observable<IEmailNotificationSettings> {

Loading…
Cancel
Save