What types of changes do your code introduce to the project?
Put an x in the boxes that apply
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
Details
How this issue fixed/resolved
Previously, when media such as photos, videos, or music were deleted, the respective media counts would temporarily reset to zero and only display the correct count after a page refresh. To resolve this, I implemented an automatic page refresh after deletion to ensure the media count is always accurate in real-time.
Checklist
Put an x in the boxes that apply.
[x] Lint and tests pass locally with my changes
[ ] I have added necessary documentation (if appropriate)
2050
Types of changes
What types of changes do your code introduce to the project? Put an
x
in the boxes that applyDetails
Checklist
Put an
x
in the boxes that apply.Closing issues
Fixes: #2050