MOBILE-3320 glossary: Do not show description while searching

main
Pau Ferrer Ocaña 2021-07-02 11:07:41 +02:00
parent 651b21b528
commit f1976190a9
1 changed files with 2 additions and 2 deletions

View File

@ -51,11 +51,11 @@
<core-loading [hideUntil]="loaded">
<!-- Activity info. -->
<core-course-module-info *ngIf="showCompletion" [module]="module" [showManualCompletion]="true"
<core-course-module-info *ngIf="showCompletion && !isSearch" [module]="module" [showManualCompletion]="true"
(completionChanged)="onCompletionChange()">
</core-course-module-info>
<core-course-module-description [description]="description" [component]="component" [componentId]="componentId"
<core-course-module-description *ngIf="!isSearch" [description]="description" [component]="component" [componentId]="componentId"
contextLevel="module" [contextInstanceId]="module.id" [courseId]="courseId">
</core-course-module-description>