wave-ui
wave-ui copied to clipboard
w-table total in pagination is broken with filtation
Checked code, why total is a value and not a computed property? As for server data table a separate value needs to be provided like serverTotal, but as for static data I think there is no need to set total manually. Cause of that it sets initially items.length, and after filtration is applied - value is not updated. For example if table has 5 pages, and after filtration item decreased to 1, it would still display 5 pages but 1 item.