MCPcopy Create free account
hub / github.com/error311/FileRise / statusPill

Function statusPill

public/js/adminPanel.js:919–923  ·  view source on GitHub ↗
(ok, label)

Source from the content-addressed store, hash-verified

917 const canGenerateKey = !lockedByEnv && !filePresent;
918
919 const statusPill = (ok, label) => `
920 <span class="badge badge-pill ${ok ? 'badge-success' : 'badge-secondary'}" style="margin-left:6px;">
921 ${label}
922 </span>
923 `;
924
925 const sourceLabel = (() => {
926 if (source === 'env') return 'Env (FR_ENCRYPTION_MASTER_KEY)';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected