cicd: cleanup console log

This commit is contained in:
jamesread 2024-10-13 01:10:16 +01:00 committed by James Read
parent 706441799f
commit 6e0e0e8133
2 changed files with 4 additions and 2 deletions

View File

@ -496,7 +496,6 @@ function showSectionView (selected) {
const current = window.registeredPaths.get(window.currentPath)
for (const navLink of document.querySelector('nav').querySelectorAll('a')) {
console.log(navLink.title, current.section)
if (navLink.title === current.section) {
navLink.classList.add('selected')
} else {
@ -634,7 +633,6 @@ export function marshalLogsJsonToHtml (json) {
row.querySelector('.tags').append(createTag(tag))
}
console.log(logEntry)
row.querySelector('.tags').append(createAnnotation('user', logEntry.user))
document.querySelector('#logTableBody').prepend(row)

View File

@ -134,6 +134,10 @@ function processWebuiSettingsJson (settings) {
}
function processAdditionaLinks (links) {
if (links === undefined) {
return
}
for (const link of links) {
const linkA = document.createElement('a')
linkA.href = link.Url