Update "hidden" in use_document

Changed to hide elements by default on server.
This commit is contained in:
Ke7in 2024-08-20 21:40:23 -04:00
parent 5529b005d7
commit 09b08f64f5

View file

@ -225,7 +225,9 @@ impl UseDocument {
); );
impl_ssr_safe_method!( impl_ssr_safe_method!(
hidden(&self) -> Option<bool> /// Hides on server by default
hidden(&self) -> bool;
.unwrap_or(true)
); );
impl_ssr_safe_method!( impl_ssr_safe_method!(