Fix various errors
This commit is contained in:
@@ -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>
|
||||
|
@@ -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: [],
|
||||
|
Reference in New Issue
Block a user