MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / compareVersions

Function compareVersions

renderer.js:16896–16909  ·  view source on GitHub ↗
(v1, v2)

Source from the content-addressed store, hash-verified

16894}
16895
16896function ensureListViewColumnState() {
16897 if (!listViewColumnState) {
16898 listViewColumnState = getDefaultListViewColumnState();
16899 }
16900 return listViewColumnState;
16901}
16902
16903function listViewColDisplayMode(colId) {
16904 return colId === 'name' ? '' : 'flex';
16905}
16906
16907function applyListViewColumnToElement(el, colId) {
16908 if (!el || !colId) return;
16909 const state = ensureListViewColumnState();
16910 const def = LIST_VIEW_COLUMN_DEFS.find(c => c.id === colId);
16911 if (!def) return;
16912 const visible = state.visibility[colId] !== false;

Callers 2

checkForUpdatesFunction · 0.85
initializeAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected