-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue#2013 managed workshops lists (#2035)
* Updated service: added a method to get a list of workshops for the admin provider * Added a new action and its processing * Added a condition for choosing how to receive workshops depending on the user's role * Now the role of the providerDeputy will receive the list of workshops and applications in the same way as the role of the provider * Added the ability to mark select elements from the parent component. This is done by adding the ability to pass the FormControl via Input and manipulate the value via the parent component. * Updated the data model of the providerAdmin for the changed model from the server * Fixed a bug when sending null to OnUpdateProviderAdminSuccess, where they tried to access its properties. This happened because we expected the request to return the providerAdmin, however it does not return anything * Added logic that is responsible for marking all workshops that are assigned to the providerAdmin * Defined the type of variables that were declared without specifying a type * Variable and method access modifiers defined * Removed one unnecessary variable because it holds a duplicate value
- Loading branch information
Showing
9 changed files
with
241 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 25 additions & 30 deletions
55
src/app/shared/components/entity-checkbox-dropdown/entity-checkbox-dropdown.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.