mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Replace the native browser confirmation dialog with a custom modal when deleting model versions. This provides better UX with consistent styling, allows displaying version information (name, preview, metadata), and gives users more context before confirming deletion. Key changes: - Added modalManager import - Created showDeleteVersionModal function to display deletion confirmation modal - Enhanced performDeleteVersion function with better error handling and button state management - Modal shows version preview, name, base model, and metadata - Improved accessibility with proper modal interactions - Maintains existing deletion functionality with enhanced user experience