Logos folder disappear after deletion

Open Beginner friendly
#6,768 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start in the files section and trace how deleting a file updates the displayed folder list; compare the behavior for the Logos folder and custom folders. Reproduce by uploading and deleting a file, then reload or switch committees to confirm the folder returns. Done when deleting a file leaves its containing folder visible.

Written by the indexing model from the issue text.

Description

bug

Describe the bug
When deleting a file the folder "logos" disappear from the list. It's not deleted, but will not appear again after a reload or switching committees.

How to Reproduce

  1. Open files section
  2. Upload a file
  3. Delete the file
  4. The folder is gone
  5. Reload/Switch committee
  6. Logos is back

Expected behavior
Folder Logos should not disappear

Additional context
If the deleted file is inside a custom folder it disappears too. Custom folders seem unaffected by this.

Dominant language
TypeScript
Stars
36
Forks
55
Avg merge
2d 7h
Merged PRs (30d)
68

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenSlides/openslides-client

All issues in OpenSlides/openslides-client

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.