Add "No data available" display when list is empty (#33517)
Add a "No data available" message to be displayed when the list has no data. This improves the user experience by providing clear feedback in an empty state. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit a52720b5b4da3e324034312f7fe1e29fd22686cc)
This commit is contained in:
parent
8cda45f750
commit
65fa66fb18
8 changed files with 15 additions and 1 deletions
|
@ -283,7 +283,7 @@ func TestLDAPUserSyncWithEmptyUsernameAttribute(t *testing.T) {
|
|||
|
||||
htmlDoc := NewHTMLParser(t, resp.Body)
|
||||
|
||||
tr := htmlDoc.doc.Find("table.table tbody tr")
|
||||
tr := htmlDoc.doc.Find("table.table tbody tr:not(.no-results-row)")
|
||||
assert.Equal(t, 0, tr.Length())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue