Skip to content
Snippets Groups Projects
Unverified Commit e677eb7a authored by John Swanson's avatar John Swanson Committed by GitHub
Browse files

Always provide `can_restore` (#44124)

Previously we were just adding this when the item was archived. Instead,
always send a value - if the item is not archived, it can't be restored,
so it will be `false` in this case.

Making this change will make fixing a frontend bug easier, because the
frontend will be able to just trust the `can_restore` value coming in
from the backend.
parent 012a7635
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment