Baluduvamsi2006 commented on code in PR #3275:
URL: https://github.com/apache/apisix-dashboard/pull/3275#discussion_r2781979784
##########
src/routes/services/index.tsx:
##########
@@ -91,6 +92,15 @@ const ServiceList = () => {
return (
<AntdConfigProvider>
<ProTable
+ locale={{
+ emptyText: (
+ <Empty
+ description={t('services.empty')}
+ image={Empty.PRESENTED_IMAGE_SIMPLE}
+ />
+ ),
+}}
Review Comment:
@Baoyuantop Thanks for the feedback!
✅ Code formatted
✅ E2E test added at
[e2e/tests/services.empty.spec.ts](cci:7://file:///d:/Apache/apisix-dashboard/e2e/tests/services.empty.spec.ts:0:0-0:0)
The test validates the empty state functionality including the Empty
component, translation, and image display. CI checks are running now.
--
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]