app: wrap template arguments in braces
To prepare for the migration to yew 1.19
This commit is contained in:
committed by
nitnelave
parent
07523219d1
commit
f44e8b7659
@@ -86,11 +86,12 @@ impl Component for RemoveUserFromGroupComponent {
|
||||
}
|
||||
|
||||
fn view(&self) -> Html {
|
||||
let link = &self.common;
|
||||
html! {
|
||||
<button
|
||||
class="btn btn-danger"
|
||||
disabled=self.common.is_task_running()
|
||||
onclick=self.common.callback(|_| Msg::SubmitRemoveGroup)>
|
||||
disabled={self.common.is_task_running()}
|
||||
onclick={link.callback(|_| Msg::SubmitRemoveGroup)}>
|
||||
<i class="bi-x-circle-fill" aria-label="Remove user from group" />
|
||||
</button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user