-
Notifications
You must be signed in to change notification settings - Fork 3
Retrigger Geo areas in Project edit page #3006
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
| value: PartialAdminLevel; | ||
| isPublished?: boolean; | ||
| adminLevelOptions?: AdminLevelType[]; | ||
| onRegionPublishSuccess: () => void; |
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.
Rename this appropriately
| 'Selected region retrigger successfully', | ||
| { variant: 'success' }, | ||
| ); | ||
| onRegionPublishSuccess(); |
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.
rename this approriately
| </> | ||
| )} | ||
| > | ||
| {region.status === 'FAILED' && ( |
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.
Check if the region is already published. If the region is already published this check is not necessary as the user won't/shouldn't be able to retrigger.
| <IoTrashBinOutline /> | ||
| </QuickActionConfirmButton> | ||
| <> | ||
| {region.status === 'FAILED' && ( |
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.
Check if the region is already published. If the region is already published this check is not necessary as the user won't/shouldn't be able to retrigger.
3508c34 to
e72147e
Compare
e72147e to
09cc81e
Compare
09cc81e to
4b9da3c
Compare
4b9da3c to
5ca9c26
Compare
Changes
This PR doesn't introduce any:
console.logmeant for debuggingThis PR contains valid: