1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

fix connection toggle button style

This commit is contained in:
checktheroads
2021-04-20 09:38:13 -07:00
parent 99f0e31810
commit d171e781d2
4 changed files with 4 additions and 3 deletions

View File

@ -68,6 +68,7 @@ function toggleConnection(element: HTMLButtonElement) {
row.classList.remove('success');
row.classList.add('info');
element.classList.remove('connected', 'btn-warning');
element.classList.add('btn-info');
element.title = 'Mark Installed';
icon.classList.remove('mdi-lan-disconnect');
icon.classList.add('mdi-lan-connect');