Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure deleted assets are cleared #67

Open
karenmajewicz opened this issue Jul 22, 2024 · 1 comment
Open

Ensure deleted assets are cleared #67

karenmajewicz opened this issue Jul 22, 2024 · 1 comment
Labels
assets bug Something isn't working

Comments

@karenmajewicz
Copy link
Member

When I upload and attach an asset, a number indicator appears on the main record next to the "Additional Assets" side menu link. If I then delete the asset, this number does not change.

@ewlarson ewlarson moved this to Todo in 2024 Development Jul 22, 2024
@ewlarson ewlarson moved this from Todo to In Progress in 2024 Development Jul 24, 2024
@ewlarson
Copy link
Contributor

Replicated this issue locally and on geodev.

It happens if you use the back button to return to the show page, which renders the browser's cached version of the page with the false (1) number still present. If you do a reload of the page the number is correctly (0).

There might be ways to solve this with Turbolinks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assets bug Something isn't working
Projects
Status: No status
Status: 📋 Backlog
Development

No branches or pull requests

2 participants