♻️ (pagetop): Incorpora Context al render de Props
This commit is contained in:
parent
a2b3ae2eb8
commit
ab1d4f0efb
49 changed files with 212 additions and 133 deletions
|
|
@ -235,7 +235,7 @@ impl Component for Pager {
|
|||
};
|
||||
|
||||
Ok(html! {
|
||||
nav (self.props()) aria-label=[self.aria_label().lookup(cx)] {
|
||||
nav (self.props().unpack(cx)) aria-label=[self.aria_label().lookup(cx)] {
|
||||
@if show_summary {
|
||||
@let items_per_page = self.items_per_page().max(1);
|
||||
@let first = (page - 1) * items_per_page + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue