MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / buildLabel

Function buildLabel

frontend/src/components/PluginDetailPanel.jsx:302–303  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

300 (v) => compareVersions(v.version, installedVersion) === 0
301 );
302 const buildLabel = (v) =>
303 `v${v.version}${v.prerelease ? ' (prerelease)' : ''}${v.version === manifest.latest?.version ? ' (latest)' : ''}${installedVersion && compareVersions(v.version, installedVersion) === 0 ? ' (installed)' : ''}`;
304
305 let versions = [...manifest.versions];
306 if (installedVersionIsPrerelease) {

Callers 1

PluginDetailPanelFunction · 0.85

Calls 1

compareVersionsFunction · 0.90

Tested by

no test coverage detected