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
Create a button that archives all items marked as unavailable.
This button should only be used/seen by admins (e.g. ALL:ADMIN or BLDG:ADMIN)
Use the status property to find the unavailable items
Add an option for admin to specify only archiving items older than x amount of days
Add the button to Active.tsx
Designs
The option for admin to specify days could appear as a modal once they click on the bulk archive button. In the modal, they should be allowed to specify how many days and then click on a button to confirm the archive. You can reference our existing modals to see how you might add this. (e.g. AddItemButton.tsx or DeleteButton.tsx)
The text was updated successfully, but these errors were encountered:
Description
Create a button that archives all items marked as unavailable.
ALL:ADMIN
orBLDG:ADMIN
)status
property to find the unavailable itemsActive.tsx
Designs
The option for admin to specify days could appear as a modal once they click on the bulk archive button. In the modal, they should be allowed to specify how many days and then click on a button to confirm the archive. You can reference our existing modals to see how you might add this. (e.g.
AddItemButton.tsx
orDeleteButton.tsx
)The text was updated successfully, but these errors were encountered: