Files
kandev/apps/web/lib/auth/human-assignee.ts
T
2026-09-06 11:36:08 +01:00

6 lines
206 B
TypeScript

import type { AuthSliceState } from "@/lib/state/slices/auth/types";
export function canShowHumanAssignee(auth: AuthSliceState["auth"]): boolean {
return auth.mode === "enabled" && auth.user !== null;
}