mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
Remove site.webmanifest and refactor state initialization in RecipeManager and HeaderManager
- Deleted the site.webmanifest file as it is no longer needed. - Simplified state management by removing initPageState from RecipeManager and integrating it into HeaderManager. - Cleaned up console logging in loraApi.js to reduce unnecessary output. - Minor formatting adjustments in FilterManager to enhance code readability.
This commit is contained in:
@@ -3,13 +3,10 @@ import { appCore } from './core.js';
|
||||
import { ImportManager } from './managers/ImportManager.js';
|
||||
import { RecipeCard } from './components/RecipeCard.js';
|
||||
import { RecipeModal } from './components/RecipeModal.js';
|
||||
import { state, getCurrentPageState, setCurrentPageType, initPageState } from './state/index.js';
|
||||
import { getCurrentPageState } from './state/index.js';
|
||||
|
||||
class RecipeManager {
|
||||
constructor() {
|
||||
// Initialize recipe page state
|
||||
initPageState('recipes');
|
||||
|
||||
// Get page state
|
||||
this.pageState = getCurrentPageState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user