diff --git a/src/app/modules/admin/member/partner/components/list.component.html b/src/app/modules/admin/member/partner/components/list.component.html index e6b4068..7a12c52 100644 --- a/src/app/modules/admin/member/partner/components/list.component.html +++ b/src/app/modules/admin/member/partner/components/list.component.html @@ -10,8 +10,13 @@ -
{{ title }}
- +
+ {{ title }} + +
@@ -53,13 +58,31 @@ -

+
+
+ + + + +
+
; + __isLevelOpened = false; isLoading = false; searchInputControl = new FormControl(); selectedPartner?: Partner; @@ -294,6 +295,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { */ __toggleDetails(productId: string): void {} + /** + * toggle the search + * Used in 'bar' + */ + __onClickLevel(): void { + this.__isLevelOpened = !this.__isLevelOpened; + } + /** * Track by function for ngFor loops * diff --git a/src/app/modules/admin/member/user/components/list.component.html b/src/app/modules/admin/member/user/components/list.component.html index 2460aca..46bdd9b 100644 --- a/src/app/modules/admin/member/user/components/list.component.html +++ b/src/app/modules/admin/member/user/components/list.component.html @@ -19,7 +19,12 @@ + + +
@@ -202,6 +207,25 @@
+
+
+ + + + +
+
diff --git a/src/app/modules/admin/member/user/components/list.component.ts b/src/app/modules/admin/member/user/components/list.component.ts index e445088..e638ef7 100644 --- a/src/app/modules/admin/member/user/components/list.component.ts +++ b/src/app/modules/admin/member/user/components/list.component.ts @@ -91,6 +91,7 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { listMemberLevels$!: Observable; __isSearchOpened = false; + __isLevelOpened = false; isLoading = false; searchInputControl = new FormControl(); selectedUser?: User; @@ -247,6 +248,14 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { this.__isSearchOpened = !this.__isSearchOpened; } + /** + * toggle the search + * Used in 'bar' + */ + __onClickLevel(): void { + this.__isLevelOpened = !this.__isLevelOpened; + } + /** * Track by function for ngFor loops *