Files
ComfyUI-Lora-Manager/tests/frontend/utils/pageFixtures.js
2025-09-24 16:22:17 +08:00

26 lines
529 B
JavaScript

import { renderTemplate } from './domFixtures.js';
/**
* Renders the LoRAs page template with expected dataset attributes.
* @returns {Element}
*/
export function renderLorasPage() {
return renderTemplate('loras.html', {
dataset: {
page: 'loras',
},
});
}
/**
* Renders the Checkpoints page template with expected dataset attributes.
* @returns {Element}
*/
export function renderCheckpointsPage() {
return renderTemplate('checkpoints.html', {
dataset: {
page: 'checkpoints',
},
});
}