Fix various errors

This commit is contained in:
2025-07-06 21:07:50 +02:00
parent 11346b89f6
commit 53760822ad
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';
import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/hover-card';
import { Calendar, Factory, TrendingUp, TrendingDown, Clock, Import, Export, Wrench, Check } from 'lucide-react';
import { Calendar, Factory, TrendingUp, TrendingDown, Clock, Import, Upload, Wrench, Check } from 'lucide-react';
import { formatISK } from '@/utils/priceUtils';
import { IndJob } from '@/lib/types';
import { Input } from '@/components/ui/input';
@@ -211,7 +211,7 @@ const JobCard: React.FC<JobCardProps> = ({ job, onEdit, onDelete, onUpdateProduc
{copyingBom ? (
<Check className="w-4 h-4 text-green-400" />
) : (
<Export className="w-4 h-4 text-blue-400" />
<Upload className="w-4 h-4 text-blue-400" />
)}
</Button>
</div>

View File

@@ -50,7 +50,7 @@ export async function deleteJob(id: string): Promise<void> {
}
async function toFullJob(job: IndJobRecord): Promise<IndJob> {
console.log('Converting job to full job:', job);
// console.log('Converting job to full job:', job);
const fullJob = {
...job,
expenditures: [],