mirror of
https://github.com/mempool/mempool.git
synced 2026-08-19 13:18:06 +02:00
Merge pull request #6193 from mempool/mononaut/fix-core-hash
fix core subversion display on monitoring page
This commit is contained in:
commit
82113b7879
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,8 @@
|
|||
<td class="{{type}} only-large" [style.background-color]="type !== 'core' && host.hashes?.[type] ? '#' + host.hashes[type].slice(0, 6) : ''">
|
||||
@if (type !== 'core' && host.hashes?.[type]) {
|
||||
<a [style.color]="'white'" href="https://github.com/mempool/{{repoMap[type]}}/commit/{{ host.hashes[type] }}" target="_blank">{{ host.hashes[type].slice(0, 8) || '?' }}</a>
|
||||
} @else if (host.hashes?.[type]) {
|
||||
<span [style.color]="'white'" style="font-size: 10px;">{{ host.hashes[type] || '?' }}</span>
|
||||
} @else {
|
||||
<span>?</span>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue