You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement block and unblock buttons and backend functionality on listing pages within the admin portal along with the listings operation page.
Requirements:
Implement these buttons on the listing page for admin only.
The buttons will open their respective modals, use the block / unblock listing modals
If the listing is currently blocked:
show the unblock button - else, show the block button
gray out the page content as shown in Figma screens
add a warning at the top of the page
ONLY admins will be able to view a blocked page in this state - implement this
Implement the 'block listing' and 'unblock listing' backend mutations and further logic and connect those to their respective modals. This will toggle the blocked status of the listing.
The block button should be located to the right of the message sharer button
Implement block and unblock buttons and backend functionality on listing pages within the admin portal along with the listings operation page.
Requirements: