Remove refresh icon and fix Safari/WebKit runtime errors
- Removed manual refresh button from frontend (kept auto-refresh functionality) - Fixed WebKit 'object cannot be found' error by replacing absolute positioning with flexbox - Added lazy loading to images to prevent preload warnings - Cleaned up unused imports and variables: - Removed unused useRef import - Removed unused colors state variable and colorService - Removed unused ColorSwatch import from FilamentTableV2 - Removed unused getModifierIcon function from MaterialBadge - Updated tests to match current implementation - Improved layout stability for better cross-browser compatibility - Removed temporary migration scripts 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,14 +3,12 @@ export interface Filament {
|
||||
tip: string;
|
||||
finish: string;
|
||||
boja: string;
|
||||
bojaHex?: string;
|
||||
boja_hex?: string; // Alternative field name from import
|
||||
refill: string;
|
||||
vakum: string;
|
||||
otvoreno: string;
|
||||
kolicina: string;
|
||||
boja_hex?: string; // Using snake_case to match database
|
||||
refill: number; // Changed to number for consistency
|
||||
spulna: number; // Changed to number for consistency
|
||||
kolicina: number; // Already changed to match database
|
||||
cena: string;
|
||||
status?: string;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
created_at?: string; // Using snake_case to match database
|
||||
updated_at?: string; // Using snake_case to match database
|
||||
}
|
||||
Reference in New Issue
Block a user