feat(front): make admin profile view linkable directly with parameters

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-25 12:08:13 +02:00
parent fe4fbc0bdf
commit 08ce7e26b7
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -115,9 +115,9 @@ import Account from "vue-material-design-icons/Account.vue";
const PROFILES_PER_PAGE = 10;
const preferredUsername = ref("");
const name = ref("");
const domain = ref("");
const preferredUsername = useRouteQuery("preferredUsername", "");
const name = useRouteQuery("name", "");
const domain = useRouteQuery("domain", "");
const local = useRouteQuery("local", true, booleanTransformer);
const suspended = useRouteQuery("suspended", false, booleanTransformer);