Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Enable/Disable Buttons Not Functioning Properly in Enatega Multivendor Admin (Restaurant Section)

Open
#1,318 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
In the Enatega Multivendor Admin, specifically in the restaurant section, the enable and disable buttons are not functioning as intended. This issue is hindering the ability to manage the status of restaurants effectively.

To Reproduce
Steps to reproduce the behavior:

Log in to the Enatega Multivendor Admin.
Navigate to the "Restaurant" section.
Attempt to use the "Enable" and "Disable" buttons to change the status of a restaurant.
Observe that the buttons are not working as expected, and the status remains unchanged.
Expected behavior
The "Enable" button should activate the restaurant, allowing it to be visible and accessible. The "Disable" button should deactivate the restaurant, making it temporarily unavailable.

Screenshots
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/152266796/5751c2e4-57fc-430c-948d-233d36fefc19

Desktop:

Browser: chrome

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

No file or test is named. Start by reproducing the issue in the Enatega Multivendor Admin's Restaurant section using Chrome, then trace the Enable and Disable controls from that entry point. Done means both buttons update the restaurant status as described, with the change reflected in the interface.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.