MOBILE-2795 data: Fix undefined contents console error
parent
e11cadbfe1
commit
746ebf5afe
|
@ -22,7 +22,7 @@
|
||||||
</ion-select>
|
</ion-select>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
<div class="addon-data-contents {{cssClass}}">
|
<div class="addon-data-contents {{cssClass}}" *ngIf="entry">
|
||||||
<style *ngIf="cssTemplate">
|
<style *ngIf="cssTemplate">
|
||||||
{{ cssTemplate }}
|
{{ cssTemplate }}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -215,6 +215,7 @@ export class AddonModDataEntryPage implements OnDestroy {
|
||||||
*/
|
*/
|
||||||
gotoEntry(entry: number): Promise<any> {
|
gotoEntry(entry: number): Promise<any> {
|
||||||
this.entryId = entry;
|
this.entryId = entry;
|
||||||
|
this.entry = null;
|
||||||
this.page = null;
|
this.page = null;
|
||||||
this.entryLoaded = false;
|
this.entryLoaded = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue