-
Notifications
You must be signed in to change notification settings - Fork 9
Feature : Added restricted organization #443
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
Conversation
Signed-off-by: Amol Sontakke <[email protected]>
lukaszgryglicki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Signed-off-by: Amol Sontakke <[email protected]>
|
@amolsontakke3576 it look ok, just please do couple changes. Message should be: Please also remove that big exclamation mark and "Restricted Organization". We don't want to scare anyone :-) |
Signed-off-by: Amol Sontakke <[email protected]>
Signed-off-by: Amol Sontakke <[email protected]>
lukaszgryglicki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm


This pull request introduces changes to enhance error handling and add a new property to the
OrganizationModel. The most significant updates include adding anisSanctionedproperty to the organization model, implementing a new error modal in the corporate dashboard, and updating the logic to handle restricted organizations.Enhancements to Error Handling:
errorModaltemplate incorporate-dashboard.component.htmlto display a message when a restricted organization is detected.errorModaltemplate in theCorporateDashboardComponentclass using@ViewChild.isSanctionedproperty. If the organization is restricted, the error modal is displayed with a relevant message.Updates to Organization Model:
isSanctioned:isSanctionedproperty to theOrganizationModelto indicate whether an organization is restricted.