mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
test(frontend): cover embeddings and recipes managers
This commit is contained in:
@@ -23,3 +23,27 @@ export function renderCheckpointsPage() {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the Embeddings page template with expected dataset attributes.
|
||||
* @returns {Element}
|
||||
*/
|
||||
export function renderEmbeddingsPage() {
|
||||
return renderTemplate('embeddings.html', {
|
||||
dataset: {
|
||||
page: 'embeddings',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the Recipes page template with expected dataset attributes.
|
||||
* @returns {Element}
|
||||
*/
|
||||
export function renderRecipesPage() {
|
||||
return renderTemplate('recipes.html', {
|
||||
dataset: {
|
||||
page: 'recipes',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user