fix: replace Wifi icon with Globe for TTLock API test button

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 00:48:04 +03:00
parent 54469e7ad1
commit 92821a8436

View File

@@ -3,7 +3,7 @@ import * as XLSX from 'xlsx'
import {
KeyRound, Save, RefreshCw, Check, X, AlertCircle,
ChevronDown, ChevronRight, Trash2, Plus, Eye, EyeOff,
Lock, Unlock, Info, HardDriveDownload, Zap, Terminal, Upload, Wifi,
Lock, Unlock, Info, HardDriveDownload, Zap, Terminal, Upload, Globe,
} from 'lucide-react'
import { api, type TTLockConfig, type RoomLockMapping, type Workstation } from '../lib/api'
import { useAuth } from '../contexts/AuthContext'
@@ -453,7 +453,7 @@ export function TTLockPage() {
<div className="flex items-center gap-2">
<button onClick={handleTestApi} disabled={testingApi || saving} className="btn-secondary flex items-center gap-2">
{testingApi ? <RefreshCw size={15} className="animate-spin" /> : <Wifi size={15} />}
{testingApi ? <RefreshCw size={15} className="animate-spin" /> : <Globe size={15} />}
Проверить API
</button>
<button onClick={handleSave} disabled={saving} className="btn-primary flex items-center gap-2">