The smokesignal.events web application

bug: resolved issue where logged in user email was not checked correctly

Signed-off-by: Nick Gerakines <nick.gerakines@gmail.com>

+1 -1
+1 -1
src/http/handle_view_event.rs
··· 127 127 128 128 let profile = profile.unwrap(); 129 129 130 - let identity_has_email = profile.email.is_some_and(|value| !value.is_empty()); 130 + let identity_has_email = ctx.current_handle.as_ref().is_some_and(|handle| handle.email.as_ref().is_some_and(|value| !value.is_empty())); 131 131 132 132 // We'll use TimeZoneSelector to implement the time zone selection logic 133 133 // The timezone selection will happen after we fetch the event