mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
fix: correct extension name format and update initialization method in usage stats
This commit is contained in:
@@ -4,9 +4,9 @@ import { api } from "../../scripts/api.js";
|
||||
|
||||
// Register the extension
|
||||
app.registerExtension({
|
||||
name: "Lora-Manager.UsageStats",
|
||||
name: "LoraManager.UsageStats",
|
||||
|
||||
init() {
|
||||
setup() {
|
||||
// Listen for successful executions
|
||||
api.addEventListener("execution_success", ({ detail }) => {
|
||||
if (detail && detail.prompt_id) {
|
||||
|
||||
Reference in New Issue
Block a user