app: propagate change events

This commit is contained in:
Valentin Tolmer 2022-06-30 09:27:51 +02:00 committed by nitnelave
parent 1a03346a38
commit 2f1bf87102
13 changed files with 26 additions and 26 deletions

View File

@ -211,8 +211,8 @@ impl Component for ChangePasswordForm {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -92,8 +92,8 @@ impl Component for CreateGroupForm {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -185,8 +185,8 @@ impl Component for CreateUserForm {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -190,8 +190,8 @@ impl Component for GroupDetails {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -75,8 +75,8 @@ impl Component for GroupTable {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -141,8 +141,8 @@ impl Component for LoginForm {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -55,8 +55,8 @@ impl Component for LogoutButton {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -81,8 +81,8 @@ impl Component for RemoveUserFromGroupComponent {
) )
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -76,8 +76,8 @@ impl Component for ResetPasswordStep1Form {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -145,8 +145,8 @@ impl Component for ResetPasswordStep2Form {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -185,8 +185,8 @@ impl Component for UserDetails {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -96,8 +96,8 @@ impl Component for UserDetailsForm {
) )
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {

View File

@ -81,8 +81,8 @@ impl Component for UserTable {
CommonComponentParts::<Self>::update(self, msg) CommonComponentParts::<Self>::update(self, msg)
} }
fn change(&mut self, _: Self::Properties) -> ShouldRender { fn change(&mut self, props: Self::Properties) -> ShouldRender {
false self.common.change(props)
} }
fn view(&self) -> Html { fn view(&self) -> Html {