cicd: cleanup console log
This commit is contained in:
parent
706441799f
commit
6e0e0e8133
|
|
@ -496,7 +496,6 @@ function showSectionView (selected) {
|
||||||
const current = window.registeredPaths.get(window.currentPath)
|
const current = window.registeredPaths.get(window.currentPath)
|
||||||
|
|
||||||
for (const navLink of document.querySelector('nav').querySelectorAll('a')) {
|
for (const navLink of document.querySelector('nav').querySelectorAll('a')) {
|
||||||
console.log(navLink.title, current.section)
|
|
||||||
if (navLink.title === current.section) {
|
if (navLink.title === current.section) {
|
||||||
navLink.classList.add('selected')
|
navLink.classList.add('selected')
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -634,7 +633,6 @@ export function marshalLogsJsonToHtml (json) {
|
||||||
row.querySelector('.tags').append(createTag(tag))
|
row.querySelector('.tags').append(createTag(tag))
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(logEntry)
|
|
||||||
row.querySelector('.tags').append(createAnnotation('user', logEntry.user))
|
row.querySelector('.tags').append(createAnnotation('user', logEntry.user))
|
||||||
|
|
||||||
document.querySelector('#logTableBody').prepend(row)
|
document.querySelector('#logTableBody').prepend(row)
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,10 @@ function processWebuiSettingsJson (settings) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function processAdditionaLinks (links) {
|
function processAdditionaLinks (links) {
|
||||||
|
if (links === undefined) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
for (const link of links) {
|
for (const link of links) {
|
||||||
const linkA = document.createElement('a')
|
const linkA = document.createElement('a')
|
||||||
linkA.href = link.Url
|
linkA.href = link.Url
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue