Skip to content

Commit

Permalink
Fix config/log links not being shown because of typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mebeim committed Jan 8, 2024
1 parent aa6d962 commit 964d7ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,22 +455,22 @@ function toggleCompactSignature() {
async function update(pushHistoryState) {
const selection = getSelection()
const [arch, bits, abi, tag] = selection
const {haveConfig, haveStderr} = db[arch][bits][abi][tag]
const {config, stderr} = db[arch][bits][abi][tag]

currentSyscallTable = await fetchSyscallTable(arch, bits, abi, tag)
fillTable(currentSyscallTable, tag)

systrackVersEl.textContent = currentSyscallTable.systrack_version
jsonLinkEl.href = `db/${arch}/${bits}/${abi}/${tag}/table.json`

if (haveConfig) {
if (config) {
configLinkEl.href = `db/${arch}/${bits}/${abi}/${tag}/config.txt`
configLinkEl.parentElement.classList.remove('invisible')
} else {
configLinkEl.parentElement.classList.add('invisible')
}

if (haveStderr) {
if (stderr) {
stderrLinkEl.href = `db/${arch}/${bits}/${abi}/${tag}/stderr.txt`
stderrLinkEl.parentElement.classList.remove('invisible')
} else {
Expand Down

0 comments on commit 964d7ce

Please sign in to comment.