Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service provider/get providerAdmins from the backend #943

Merged
merged 11 commits into from
Feb 17, 2022

Conversation

perepichai
Copy link
Contributor

No description provided.

* @param deputyOnly: boolean
* @param assistantsOnly: boolean
*/
getFilteredProviderAdmins(deputyOnly: boolean, assistantsOnly: boolean): Observable<ProviderAdmin> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentations

/**
* This method filter users according to selected tab
* @param event: MatTabChangeEvent
*/
onTabChange(event: MatTabChangeEvent): void {
this.filterProviderAdmins = this.providerAdmins.filter(user => user.role === event.tab.textLabel);
this.filter.reset();
console.log(this.testAdmins[0]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log

@perepichai perepichai requested a review from dmitryy90 February 17, 2022 12:34
@perepichai perepichai merged commit c1bca2b into service-provider/users-tab Feb 17, 2022
@perepichai perepichai deleted the service-provider/get-users branch February 17, 2022 20:13
perepichai added a commit that referenced this pull request Feb 17, 2022
* feat: add users-list component

* feat: add users component

* feat: add new users tab

* feat: register UsersComponent

* feat: add new route for the users tab

* test fixing

* test fixing

* test fixing. Add BrowserAnimationsModule

* add debounceTime for the input

* test fixing. Add ReactiveFormsModule

* Service provider/get providerAdmins from the backend (#943)

* feat: add service provider-admin

* feat: add GetAllProviderAdmins

* feat: add GetAllProviderAdmins

* update columns name

* update columns name

* enum for the labels

* add enum for the provider admin role

* add new interface for the updated provider admins

* add updateStructureForTheTable method  to updating data

* fix indentantions

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants