fix: apply the toggle overflow fix to the user list
This commit is contained in:
parent
5300b717c7
commit
f3d99c98a9
1 changed files with 2 additions and 1 deletions
|
|
@ -778,8 +778,9 @@ fn user_list() -> Section<crate::pages::Message> {
|
|||
column::with_capacity(2)
|
||||
.push(text::body(crate::fl!("administrator")))
|
||||
.push(text::caption(crate::fl!("administrator", "desc")))
|
||||
.width(Length::Fill)
|
||||
.into(),
|
||||
widget::horizontal_space().width(Length::Fill).into(),
|
||||
Space::new(5, 0).into(),
|
||||
widget::toggler(user.is_admin)
|
||||
.on_toggle(|enabled| {
|
||||
Message::SelectedUserSetAdmin(user.id, enabled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue