Обновлен Dockerfile для установки wget и добавлены зависимости в компонентах. Исправлены зависимости в хуках и компонентах, улучшено логирование и обработка ошибок. Удалены неиспользуемые импорты и оптимизированы некоторые функции. Обновлены компоненты для работы с изображениями и улучшена структура кода.

This commit is contained in:
Bivekich
2025-07-17 11:18:32 +03:00
parent 99e91287f3
commit 83ed577a44
24 changed files with 80 additions and 119 deletions

View File

@ -3,13 +3,13 @@
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog'
import { Card } from '@/components/ui/card'
import { Badge } from '@/components/ui/badge'
import { Separator } from '@/components/ui/separator'
import {
Building2,
Phone,
Mail,
MapPin,
Calendar,
FileText,
Users,
CreditCard,
@ -98,7 +98,7 @@ function formatDate(dateString?: string | null): string {
month: 'long',
day: 'numeric'
})
} catch (error) {
} catch {
return 'Не указана'
}
}
@ -376,7 +376,7 @@ export function OrganizationDetailsModal({ organization, open, onOpenChange }: O
</h3>
<div className="space-y-3">
{organization.users.map((user, index) => (
{organization.users.map((user) => (
<div key={user.id} className="flex items-center justify-between">
<div className="flex items-center space-x-3">
<OrganizationAvatar
@ -406,7 +406,7 @@ export function OrganizationDetailsModal({ organization, open, onOpenChange }: O
</h3>
<div className="space-y-3">
{organization.apiKeys.map((apiKey, index) => (
{organization.apiKeys.map((apiKey) => (
<div key={apiKey.id} className="flex items-center justify-between">
<div className="flex items-center space-x-3">
<Badge className={apiKey.isActive ? 'bg-green-500/20 text-green-300 border-green-500/30' : 'bg-red-500/20 text-red-300 border-red-500/30'}>