Skip to content

Commit

Permalink
Merge pull request #131 from amattu2/amattu2/issue124
Browse files Browse the repository at this point in the history
New Lists don't appear under Add To List popup
  • Loading branch information
amattu2 authored Nov 10, 2023
2 parents a31b4b6 + 7071661 commit fa256b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ListAssignmentDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const ListAssignmentDialog: FC<Props> = ({ vehicle, onClose }: Props) => {
const controllerRef = useRef<AbortController>(new AbortController());
const { token, profile } = useAuthProvider();
const { register, handleSubmit } = useForm<{ uuid: List["uuid"] }>();
const [, lists] = useProfileListsLookup(profile?.uuid || "");
const [, lists] = useProfileListsLookup(profile?.uuid || "", true);
const [saving, setSaving] = useState(false);

const ownedLists: List[] = useMemo(() => {
Expand Down

0 comments on commit fa256b3

Please sign in to comment.