mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Show only the short hash from the resolved commit
This commit is contained in:
@@ -1029,7 +1029,7 @@ window.KefinTweaksConfig = ${JSON.stringify(config, null, 2)};`;
|
||||
|
||||
if (sha) {
|
||||
const short = sha.length > 12 ? sha.slice(0, 12) : sha;
|
||||
resolvedHashEl.textContent = `Resolved commit: ${short}${sha.length > 12 ? ` (${sha})` : ''}`;
|
||||
resolvedHashEl.textContent = `Resolved commit: ${short}`;
|
||||
} else {
|
||||
resolvedHashEl.textContent = 'Resolved commit: unavailable';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user