mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
feat: enable move operations for all model types and remove unsupported methods from specific clients
This commit is contained in:
@@ -5,22 +5,6 @@ import { showToast } from '../utils/uiHelpers.js';
|
||||
* Checkpoint-specific API client
|
||||
*/
|
||||
export class CheckpointApiClient extends BaseModelApiClient {
|
||||
/**
|
||||
* Checkpoints don't support move operations
|
||||
*/
|
||||
async moveSingleModel(filePath, targetPath) {
|
||||
showToast('Moving checkpoints is not supported', 'warning');
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checkpoints don't support bulk move operations
|
||||
*/
|
||||
async moveBulkModels(filePaths, targetPath) {
|
||||
showToast('Moving checkpoints is not supported', 'warning');
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get checkpoint information
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user