Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions frontend/src/components/ChatBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -945,17 +945,16 @@ export default function Component({
</>
)}
</DropdownMenuItem>
{/* Document upload temporarily removed - will be re-added later
<DropdownMenuItem
onClick={(e) => {
e.preventDefault();
// Temporarily disabled - remove this condition when re-enabling
/*
if (!canUseDocuments) {
navigate({ to: "/pricing" });
} else {
documentInputRef.current?.click();
}
*/
// if (!canUseDocuments) {
// navigate({ to: "/pricing" });
// } else {
// documentInputRef.current?.click();
// }
}}
className={cn("flex items-center gap-2 cursor-not-allowed opacity-50")}
disabled
Expand All @@ -966,6 +965,7 @@ export default function Component({
<span className="text-xs text-muted-foreground">Temporarily Unavailable</span>
</div>
</DropdownMenuItem>
*/}
</DropdownMenuContent>
</DropdownMenu>
)}
Expand Down
Loading