Improve changing active shop profile methods to avoid multiple queries.

This commit is contained in:
Patrick Fic
2023-03-02 20:04:54 -08:00
parent 2415b4c2b4
commit 99d3943955
7 changed files with 62 additions and 27 deletions

View File

@@ -42,7 +42,9 @@ export default function ShopUsersAuthEdit({ association }) {
</div>
)}
{!visible && (
<div style={{ cursor: "pointer" }} onClick={() => setVisible(true)}>
<div
style={{ cursor: "pointer" }} //onClick={() => setVisible(true)}
>
{association.authlevel || t("general.labels.na")}
</div>
)}