only admin can update and delete while pending status
Description
Only the election admin has to delete or update button access and only in pending status. In active status vote button enable.
Video: https://www.loom.com/share/e1d218c980064cfbb89e82f69476129f
Type of change
Please mark the options that are relevant.
-
Updated UI/UX -
Improved the business logic of code -
Added new feature -
Other
Checklist:
-
I have performed a self-review of my own code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation -
My changes generate no new warnings