gray-mueller / gray-mueller/full-stack-document-solution

Enatega Restaurant Application : Restaurant Closed/Opened toggle button not working properly also check the notification toggle too

未关闭
#7 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Describe the bug
The "Restaurant Closed/Opened" toggle button is not functioning as intended. Specifically, when attempting to change the restaurant's status, the toggle does not respond or reflect the correct state. Additionally, the notification toggle button exhibits similar unresponsiveness, failing to enable or disable notifications as expected.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Restaurant application'
Click on 'Profile' menu button.
See error now change statuses closed or open than close the app , now again open the application the status is changed automatically similarly issue with notifications.
Expected behavior
Both toggle buttons should accurately reflect and change their respective states upon user interaction. The "Restaurant Closed/Opened" toggle should switch between "Closed" and "Opened" statuses, updating the restaurant's availability accordingly. The notification toggle should enable or disable notifications based on the user's selection.

Screenshots

Screen_Recording_20250128_115912.mp4
Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g. Android ]
Browser [e.g. Application]
Version [e.g. Latest ]

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。