(fix): tooltips in fullscreen mode
All checks were successful
/ deploy (push) Successful in 14m47s

(feat): adjust to new calls array from ident res
This commit is contained in:
Alois 2026-05-09 21:33:21 +02:00
commit 8e5ed8217d
6 changed files with 27 additions and 11 deletions

View file

@ -14,13 +14,15 @@ import { useSession } from "@tensamin/storage/session";
export default function Navbar({ forMobile }: { forMobile: boolean }) {
const navigate = useNavigate();
const callState = useCall((state) => state.state);
const { contacts } = useSession();
const { calls } = useSession();
const { pathname } = useLocation();
const { id } = useSearch({ strict: false });
const currentCalls = id ? contacts?.[id]?.calls || [] : [];
const currentCalls = calls.filter((call) =>
call.call_members.some((member) => member === id),
);
//const currentCalls = ["leck", "schleck", "und", "eck"];
const [selectOpen, setSelectOpen] = useState(false);