mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
Tweaks
This commit is contained in:
parent
ed91e19b3e
commit
b49e3404f8
@ -88,7 +88,6 @@ impl Component for App {
|
|||||||
self.route_dispatcher
|
self.route_dispatcher
|
||||||
.send(RouteRequest::ReplaceRoute(Route::from(AppRoute::Login)));
|
.send(RouteRequest::ReplaceRoute(Route::from(AppRoute::Login)));
|
||||||
}
|
}
|
||||||
ConsoleService::log("update app");
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,13 +7,11 @@ use yew::prelude::*;
|
|||||||
#[graphql(
|
#[graphql(
|
||||||
schema_path = "../schema.graphql",
|
schema_path = "../schema.graphql",
|
||||||
query_path = "queries/get_user_avatar.graphql",
|
query_path = "queries/get_user_avatar.graphql",
|
||||||
response_derives = "Debug, Hash, PartialEq, Eq, Clone",
|
response_derives = "Debug",
|
||||||
custom_scalars_module = "crate::infra::graphql"
|
custom_scalars_module = "crate::infra::graphql"
|
||||||
)]
|
)]
|
||||||
pub struct GetUserAvatar;
|
pub struct GetUserAvatar;
|
||||||
|
|
||||||
pub type User = get_user_avatar::GetUserAvatarUser;
|
|
||||||
|
|
||||||
pub struct Avatar {
|
pub struct Avatar {
|
||||||
common: CommonComponentParts<Self>,
|
common: CommonComponentParts<Self>,
|
||||||
/// The user info. If none, the error is in `error`. If `error` is None, then we haven't
|
/// The user info. If none, the error is in `error`. If `error` is None, then we haven't
|
||||||
|
Loading…
Reference in New Issue
Block a user