Margaret-Petersen / Margaret-Petersen/python-based-food-ordering-system

Enatega Admin Dashboard: Page refreshes and redirects to another vendor stores, while we are deleting a store from another vendor

Open
#613 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When attempting to delete a store under a specific vendor, the page unexpectedly refreshes and redirects the user to a different vendor's store page. This occurs immediately after the delete action, causing confusion and misalignment in the store management workflow.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Admin Dashboard'
Click on 'Vendors' from general dropdown.
Now select a vendor, its stores will be showing up on right store
See error now delete a store you will see the page unexpectedly refreshes and redirects the user to a different vendor's store page. This occurs immediately after the delete action.
Expected behavior
The system should remain on Vendor A’s store list after deletion, showing the updated list without the deleted store.

multivendor-admin.enatega.com_general_vendors.-.Google.Chrome.2025-03-20.09-55-27.1.mp4
Desktop (please complete the following information):

OS: [e.g. Windows]
Browser [e.g. chrome]
Version [e.g. Latest]

Contributor guide

Open the 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.

Research direction

Start by reproducing the issue in the Enatega Admin Dashboard through Vendors, selecting a vendor, and deleting one of its stores. Trace the dashboard entry point and deletion flow to determine why the selected vendor changes after refresh; done means the page remains on the same vendor's updated store list.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.