From 40175f2e0a6035f765cd0018f5a23cc52aa8389c Mon Sep 17 00:00:00 2001 From: Paul Rangger Date: Thu, 24 Oct 2024 12:11:55 +0200 Subject: [PATCH] Added return to sidebar button to search --- .../course-wide-search/course-wide-search.component.html | 3 +++ .../course-wide-search/course-wide-search.component.ts | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.html b/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.html index d2d7d367c229..1295be3edf63 100644 --- a/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.html +++ b/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.html @@ -9,6 +9,9 @@

@if (!courseWideSearchConfig.searchTerm) { } @else { + }

diff --git a/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.ts b/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.ts index 7125d53d9a92..ddcca319dcc3 100644 --- a/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.ts +++ b/src/main/webapp/app/overview/course-conversations/course-wide-search/course-wide-search.component.ts @@ -13,7 +13,7 @@ import { ViewChildren, ViewEncapsulation, } from '@angular/core'; -import { faCircleNotch, faEnvelope, faFilter, faLongArrowAltDown, faLongArrowAltUp, faPlus, faTimes } from '@fortawesome/free-solid-svg-icons'; +import { faChevronLeft, faCircleNotch, faEnvelope, faFilter, faLongArrowAltDown, faLongArrowAltUp, faPlus, faTimes } from '@fortawesome/free-solid-svg-icons'; import { FormBuilder, FormGroup } from '@angular/forms'; import { Subject, takeUntil } from 'rxjs'; import { Course } from 'app/entities/course.model'; @@ -55,6 +55,7 @@ export class CourseWideSearchComponent implements OnInit, AfterViewInit, OnDestr faTimes = faTimes; faEnvelope = faEnvelope; faCircleNotch = faCircleNotch; + faChevronLeft = faChevronLeft; readonly SortDirection = SortDirection; sortingOrder = SortDirection.ASCENDING;