migration
This commit is contained in:
@@ -6,7 +6,7 @@ import { I18nService } from './../../services/i18n.service';
|
||||
@Component({
|
||||
selector: 'app-html',
|
||||
templateUrl: './html.component.html',
|
||||
styleUrls: ['./html.component.scss']
|
||||
styleUrls: [ './html.component.scss' ]
|
||||
})
|
||||
export class HtmlComponent implements OnInit {
|
||||
|
||||
@@ -26,7 +26,9 @@ export class HtmlComponent implements OnInit {
|
||||
{
|
||||
headers: headers,
|
||||
responseType: 'text'
|
||||
}).subscribe(response => this.htmlTemplate = response);
|
||||
}).subscribe({
|
||||
next: (response) => this.htmlTemplate = response
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user