Duansg opened a new pull request, #4448:
URL: https://github.com/apache/hertzbeat/pull/4448

   ## What's changed?
   
   On **Settings → Token**, only the first 10 API tokens were shown, and there 
was no way to see the rest.
   
   
   Changes (`token-management.component.html` only):
   - Remove `[nzShowPagination]="false"` and add `[nzHideOnSinglePage]="true"`, 
so the pager shows only when there are more than 10 tokens.
   - Add `nzShowTotal` with the shared `common.total` label, the same as other 
list pages.
   - Use `nzNoResult` for the empty state and remove the separate `<nz-empty>` 
block. Before, an empty list showed two empty placeholders.
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [ ]  I have written the necessary doc or comment.
   - [ ]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.
   
   <img width="1329" height="654" alt="capcap-261009-144855" 
src="https://github.com/user-attachments/assets/2943f1d7-649c-486d-92d6-14ece46de92c";
 />
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to