majialoong opened a new pull request, #1503:
URL: https://github.com/apache/rocketmq-dashboard/pull/1503

   ## What is the purpose of the change
   
   Honor `VITE_USE_MOCK` when initializing the data mode store, while 
preserving the user's persisted preference.
   
   ## Brief changelog
   
   - Initialize the default data mode from `VITE_USE_MOCK`.
   - Add test environment configuration and regression tests.
   
   ## Verifying this change
   
   ```bash
   cd web
   npm test -- src/stores/dataModeStore.test.ts src/App.test.tsx
   npm run build


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to