refactor: remove redundant escape html wrappers

This commit is contained in:
Dariusz L
2026-08-07 01:17:23 +02:00
parent 1bba061a29
commit 8b9a11ec64
2 changed files with 0 additions and 7 deletions
-3
View File
@@ -4,9 +4,6 @@ import { escapeHtml, pollBackgroundTask, safeStorage } from "../utils/html_utils
const SETTINGS_MAP = [];
export const optionsMethods = {
escapeHtml(value) {
return escapeHtml(value);
},
buildLocalModelContext(item = {}, contextSource = '', extraFields = {}) {
const modelLabel = item.relative_path || item.filename || item.model_path || 'Model';
const modelPath = item.model_path || '';
@@ -1,13 +1,9 @@
import { getSvgIcon } from "../../utils/icon_utils.js";
import { escapeHtml } from "../utils/html_utils.js";
import {
getCustomNodeModelEntries,
getCustomNodeOriginalIdentity,
} from "../custom_nodes/registry.js";
export const tabsLoadedMethods = {
escapeHtml(value) {
return escapeHtml(value);
},
getTabButton(tab) {
return {
missing: this.missingTab,