fix(#2438): link config approval commit by full sha, not abbreviated
This commit is contained in:
parent
407965b6e1
commit
bf657177d3
2 changed files with 16 additions and 2 deletions
|
|
@ -354,10 +354,10 @@ export function renderApprovals() {
|
|||
'↳ view diff');
|
||||
diffBtn.addEventListener('click', () => openDiffPanel(a));
|
||||
drill.append(diffBtn);
|
||||
if (forgeBase && a.sha_short) {
|
||||
if (forgeBase && a.sha_full) {
|
||||
drill.append(el('a', {
|
||||
class: 'panel-trigger', target: '_blank', rel: 'noopener',
|
||||
href: `${forgeBase}/agent-configs/${a.agent}/commit/${a.sha_short}`,
|
||||
href: `${forgeBase}/agent-configs/${a.agent}/commit/${a.sha_full}`,
|
||||
title: 'this proposal commit on the hive forge',
|
||||
}, '↳ commit on forge ↗'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue