fix(contacts): pass usize to DataTable.total_items #19

Merged
nrupard merged 1 commit from fix/contacts-total-items-usize into main 2026-05-15 17:15:34 +02:00
Owner

DataTable.total_items is typed usize but CompanyListPage cast remote_companies.len() to u32, breaking the wasm release build (E0308 mismatched types). slice::len() returns usize so the cast is also unneeded - drop it.

Signed-off-by: nrupard natrsmith11@gmail.com

DataTable.total_items is typed usize but CompanyListPage cast remote_companies.len() to u32, breaking the wasm release build (E0308 mismatched types). slice::len() returns usize so the cast is also unneeded - drop it. Signed-off-by: nrupard <natrsmith11@gmail.com>
fix(contacts): pass usize to DataTable.total_items
Some checks failed
Check / clippy + fmt + tests (pull_request) Failing after 4s
Create release / Create release from merged PR (pull_request) Has been skipped
4feabc56ca
DataTable.total_items is typed usize but CompanyListPage cast remote_companies.len() to u32, breaking the wasm release build (E0308 mismatched types). slice::len() returns usize so the cast is also unneeded - drop it.

Signed-off-by: nrupard <natrsmith11@gmail.com>
nrupard deleted branch fix/contacts-total-items-usize 2026-05-15 17:15:34 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!19
No description provided.