fix delete btn
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Sergo 2023-07-30 11:01:06 +03:00
parent e13d26f8c1
commit 04d45c0a69

View File

@ -45,10 +45,8 @@ function renderAliases(aliases) {
} }
}) })
aDelete.classList.add('btn') aDelete.classList.add('btn', 'btn-danger')
aDelete.classList.add('btn-danger')
aDelete.innerText = 'Delete' aDelete.innerText = 'Delete'
aDelete.setAttribute('href', `/aliases/${alias.id}`)
tdActions.appendChild(aDelete) tdActions.appendChild(aDelete)
tr.appendChild(tdAddress) tr.appendChild(tdAddress)