MOBILE-2795 format-text: Handle show more after a text update

main
Pau Ferrer Ocaña 2019-01-10 11:54:10 +01:00
parent 86039d0a58
commit 1c588a214c
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ export class CoreFormatTextDirective implements OnChanges {
*/
ngOnChanges(changes: { [name: string]: SimpleChange }): void {
if (changes.text) {
this.hideShowMore();
this.formatAndRenderContents();
}
}