codesandbox-client
codesandbox-client copied to clipboard
Can't delete a Template sandbox in Recent page
🐛 bug report
Preflight Checklist
- [x] I have read the Contributing Guidelines for this project.
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Description of the problem
Cannot delete template sandbox that is listed in the recent page
How has this issue affected you? What are you trying to accomplish?
Can't delete sandboxes marked as template that I want to remove in recent page
To Reproduce
- Create a sanbox and mark as template.
- Navigate to recent page of codesandbox.
- Try to delete the template sandbox using delete option in right click menu.
- It won't be deleted and gives error in devtools.
Link to sandbox: link (optional)
Your Environment
Software | Name/Version |
---|---|
Сodesandbox | |
Browser | Version 127.0.6533.73 |
Operating System | Windows 11 Home 23H2 |
It seems the
template id
required to delete the sandbox is not present.
I think its because, the sandboxes variable sandboxes.RECENT_SANDBOXES
does not contain template data.