]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Chore: remove a couple of console logs
authorshamoon <4887959+shamoon@users.noreply.github.com>
Fri, 21 Mar 2025 16:52:06 +0000 (09:52 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Fri, 21 Mar 2025 16:52:06 +0000 (09:52 -0700)
src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.spec.ts
src-ui/src/app/services/settings.service.ts

index cd279b1b5321a0fa9c5614e524aa98c4872ac8f7..06bc18b0cfb97062ede347b1fedb90ba2119c99b 100644 (file)
@@ -492,11 +492,9 @@ describe('FilterableDropdownComponent & FilterableDropdownSelectionModel', () =>
     component.selectionModel.items = items
     component.selectionModel = selectionModel
     component.selectionModel.intersection = Intersection.Include
-    console.log(component.selectionModel.items[0])
     component.selectionModel.set(null, ToggleableItemState.Selected)
     component.selectionModel.intersection = Intersection.Exclude
     component.selectionModel.toggleIntersection()
-    console.log(component.selectionModel)
     expect(component.selectionModel.getExcludedItems()).toEqual([
       negativeNullItem,
     ])
index 80e3b347479bc92fd636e06b18c8f16a8bac308b..454ddc04adaa3e3655cd319e5f228a2625eca4ca 100644 (file)
@@ -602,7 +602,6 @@ export class SettingsService {
         )
       } catch (error) {
         this.toastService.showError(errorMessage)
-        console.log(error)
       }
 
       this.storeSettings()
@@ -614,7 +613,6 @@ export class SettingsService {
           },
           error: (e) => {
             this.toastService.showError(errorMessage)
-            console.log(e)
           },
         })
     }
@@ -636,7 +634,6 @@ export class SettingsService {
             this.toastService.showError(
               'Error migrating update checking setting'
             )
-            console.log(e)
           },
         })
     }