Browse Source

Satisfy prettier check

atownson 1 year ago
parent
commit
3c36549ff1

File diff suppressed because it is too large
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 2 - 5
netbox/project-static/src/buttons/floatBulk.ts

@@ -17,8 +17,7 @@ function toggleFloat(): void {
   const isFloating = buttonGroup.classList.contains('btn-float-group-left');
   if (checkedCheckboxes !== null && !isFloating) {
     buttonGroup.classList.add('btn-float-group-left');
-  }
-  else if (checkedCheckboxes === null && isFloating) {
+  } else if (checkedCheckboxes === null && isFloating) {
     buttonGroup.classList.remove('btn-float-group-left');
   }
 }
@@ -27,9 +26,7 @@ function toggleFloat(): void {
  * Initialize floating bulk buttons.
  */
 export function initFloatBulk(): void {
-  for (const element of getElements<HTMLInputElement>(
-    'input[type="checkbox"][name="pk"]',
-  )) {
+  for (const element of getElements<HTMLInputElement>('input[type="checkbox"][name="pk"]')) {
     element.addEventListener('change', () => {
       toggleFloat();
     });

Some files were not shown because too many files changed in this diff