marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native

Enatega Admin Dashboard : Showing by default 2-options added in options adding feature in a new store created.

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

Nobody has claimed this yet.

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

Description

Describe the bug
Newly created store incorrectly shows two default options in the options-adding feature. Showing 7up and Pepsi already entered options in any new store created by the user.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Admin Dashboard'
Create a new store or open recently created store.
Now open Product Management dropdown menu.
Select Options from the dropdown menu.
See error there already add two options named 7UP and Pepsi.

Expected behavior
The options list should be empty by default, allowing the user to add options manually.

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 at the Enatega Admin Dashboard entry point for Product Management and the Options screen, then trace where options are initialized for a newly created store. Reproduce the issue with a new store and verify that the Options list is empty by default while manually added options still appear.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.