Skip to content

Shelter : Empty class sections and/or batches shows data from other shelter due to caching #60

@bhngupta

Description

@bhngupta

Describe the bug
In the shelter tab, the class sections and/or batches show data from other shelter from same city. This issue is caused due to caching of data.

What page/module is the bug on?
Shelter

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Shelter tab
  2. Open Shelter which does not have 0 Class Sections
  3. Open Class Sections
  4. Go Back, choose a Shelter which has 0 Class Sections
  5. Open Class Sections

Note : Aftercare Shelter will usually have 0 Class Sections

Expected behaviour
Correct data to be shown, irrespective of caching

Screenshots

0 Class Sections
Screenshot 2021-09-02 at 6 02 20 PM

Data from caching
Screenshot 2021-09-02 at 6 02 45 PM

Desktop (please complete the following information):

  • Browser [Brave(Chromium)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions