mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
fix: enable prompt search functionality in recipes page
- Add prompt option to recipes default searchOptions state - Update SearchManager to propagate prompt option to backend
This commit is contained in:
@@ -289,6 +289,7 @@ export class SearchManager {
|
||||
pageState.searchOptions.tags = options.tags || false;
|
||||
pageState.searchOptions.loraName = options.loraName || false;
|
||||
pageState.searchOptions.loraModel = options.loraModel || false;
|
||||
pageState.searchOptions.prompt = options.prompt || false;
|
||||
} else if (this.currentPage === 'loras' || this.currentPage === 'checkpoints' || this.currentPage === 'embeddings') {
|
||||
// Update only the relevant fields in searchOptions instead of replacing the whole object
|
||||
pageState.searchOptions.filename = options.filename || false;
|
||||
|
||||
Reference in New Issue
Block a user