Оптимизация импорта и исправление текста в компоненте CreateSuppliersSupplyPage

- Упорядочен импорт компонентов из 'lucide-react' и 'apollo/client'
- Исправлено значение атрибута value в SelectItem на "no-fulfillment" для корректного отображения отсутствия фулфилмент-центров

🤖 Generated with [Claude Code](https://claude.ai/code)
This commit is contained in:
Bivekich
2025-08-07 21:59:52 +03:00
parent 4e8e217cdb
commit b43269073f

View File

@ -1,26 +1,18 @@
'use client'
import { useQuery, useMutation } from '@apollo/client'
import { useMutation, useQuery } from '@apollo/client'
import {
ArrowLeft,
Building2,
Search,
Package,
Plus,
Minus,
ShoppingCart,
Calendar,
Truck,
Box,
FileText,
AlertCircle,
Settings,
DollarSign,
X,
ArrowLeft,
Building2,
Package,
Plus,
Search,
ShoppingCart,
X
} from 'lucide-react'
import Image from 'next/image'
import { useRouter } from 'next/navigation'
import React, { useState } from 'react'
import { useState } from 'react'
import { toast } from 'sonner'
import { Sidebar } from '@/components/dashboard/sidebar'
@ -32,11 +24,11 @@ import { Input } from '@/components/ui/input'
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'
import { CREATE_SUPPLY_ORDER } from '@/graphql/mutations'
import {
GET_MY_COUNTERPARTIES,
GET_ORGANIZATION_PRODUCTS,
GET_COUNTERPARTY_SERVICES,
GET_COUNTERPARTY_SUPPLIES,
GET_AVAILABLE_SUPPLIES_FOR_RECIPE,
GET_AVAILABLE_SUPPLIES_FOR_RECIPE,
GET_COUNTERPARTY_SERVICES,
GET_COUNTERPARTY_SUPPLIES,
GET_MY_COUNTERPARTIES,
GET_ORGANIZATION_PRODUCTS,
} from '@/graphql/queries'
import { useAuth } from '@/hooks/useAuth'
import { useSidebar } from '@/hooks/useSidebar'
@ -929,7 +921,7 @@ export function CreateSuppliersSupplyPage() {
</SelectItem>
))
) : (
<SelectItem value="" disabled>
<SelectItem value="no-fulfillment" disabled>
Нет доступных фулфилмент-центров
</SelectItem>
)}