make owners a non cached var
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2024-01-05 08:17:48 +01:00
parent 5e3448aa03
commit 38692b1462

View File

@@ -70,7 +70,7 @@ class NewMedicineState(rx.State):
async with self:
self.load_last_scan()
@rx.cached_var
@rx.var
def owners(self) -> List[str]:
with rx.session() as session:
statement = select(Owner)