Skip to content

Commit

Permalink
fix useHousholds to useAdminHouseholds
Browse files Browse the repository at this point in the history
  • Loading branch information
p0lycarpio committed Sep 22, 2024
1 parent d52b942 commit 7e91b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/pages/admin/manage/users/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import { useUser, useAllUsers } from "~/composables/use-user";
import { UserOut } from "~/lib/api/types/user";
import { validators } from "~/composables/use-validators";
import { useGroups } from "~/composables/use-groups";
import { useHouseholds } from "~/composables/use-households";
import { useAdminHouseholds } from "~/composables/use-households";
import UserInviteDialog from "~/components/Domain/User/UserInviteDialog.vue";
export default defineComponent({
Expand Down Expand Up @@ -120,7 +120,7 @@ export default defineComponent({
const { loading, deleteUser: deleteUserMixin } = useUser(refreshAllUsers);
const { groups } = useGroups();
const { households } = useHouseholds();
const { households } = useAdminHouseholds();
function deleteUser(id: string) {
deleteUserMixin(id);
Expand Down

0 comments on commit 7e91b7b

Please sign in to comment.