Add database to server endpoints, move modals, add forget pw to db
All checks were successful
Build Crate / build (push) Successful in 1m45s
All checks were successful
Build Crate / build (push) Successful in 1m45s
This commit is contained in:
@@ -81,6 +81,7 @@ impl AuthDataRx {
|
||||
#[rx(alias = "ModalOpenDataRx")]
|
||||
pub struct ModalOpenData {
|
||||
pub login: OpenState,
|
||||
pub register: OpenState,
|
||||
pub forgot_password: OpenState,
|
||||
}
|
||||
|
||||
@@ -99,6 +100,7 @@ pub async fn get_build_state() -> AppState {
|
||||
},
|
||||
modals_open: ModalOpenData {
|
||||
login: OpenState::Closed,
|
||||
register: OpenState::Closed,
|
||||
forgot_password: OpenState::Closed,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user