Skip to content

Commit 50fd643

Browse files
committed
cleanup outcommented code
1 parent 9fb8da6 commit 50fd643

File tree

6 files changed

+1
-13
lines changed

6 files changed

+1
-13
lines changed

src/app/app.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import { ColorModeService, ContainerComponent, ModalService, ShadowOnScrollDirec
1616
import { IconSetService } from '@coreui/icons-angular';
1717
import { iconSubset } from './icons/icon-subset';
1818
import { HistoryService } from './history.service';
19-
//import { TranslocoService } from '@jsverse/transloco';
20-
//import { NgSelectConfig } from '@ng-select/ng-select';
2119
import { CoreuiHeaderComponent } from './layouts/coreui/coreui-header/coreui-header.component';
2220
import { CoreuiNavbarComponent } from './layouts/coreui/coreui-navbar/coreui-navbar.component';
2321
import { GlobalLoaderComponent } from './layouts/coreui/global-loader/global-loader.component';

src/app/components/filter-bookmark-save-modal/filter-bookmark-save-modal.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export class FilterBookmarkSaveModalComponent implements OnInit, OnDestroy {
108108
private readonly modalService = inject(ModalService);
109109
private subscriptions: Subscription = new Subscription();
110110
@ViewChild('modal') private modal!: ModalComponent;
111-
// private _actionType: string = '';
112111
private BookmarksService: BookmarksService = inject(BookmarksService);
113112
public TranslocoService: TranslocoService = inject(TranslocoService);
114113
private readonly notyService = inject(NotyService);

src/app/components/filter-bookmark/filter-bookmark.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ export class FilterBookmarkComponent implements OnInit, OnDestroy {
129129

130130
constructor(private router: Router, private activatedRoute: ActivatedRoute) {
131131
// subscribe to router event
132-
// console.log(activatedRoute)
133132
this.activatedRoute.queryParams.subscribe((params: Params) => {
134133
if (params['filter'] && params['filter'] !== '') {
135134
this.filterUuid = params['filter'];

src/app/modules/openstreetmap_module/pages/openstreetmap-index/js/HexbinLayer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import * as d3 from 'd3';
22
import * as d3Hexbin from 'd3-hexbin';
3-
//import 'leaflet';
4-
//import * as L from 'leaflet';
53

64
/**
75
* This is a convoluted way of getting ahold of the hexbin function.

src/app/modules/openstreetmap_module/pages/openstreetmap-index/openstreetmap-index.component.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import { chain } from 'lodash';
5555
import { leafletFullscreen } from './js/Leaflet.fullscreen.js';
5656
// @ts-ignore
5757
import { hexbinLayer } from './js/HexbinLayer.js';
58-
import { AsyncPipe, NgFor, NgIf, NgStyle } from '@angular/common';
58+
import { AsyncPipe, NgStyle } from '@angular/common';
5959

6060

6161
@Component({
@@ -157,8 +157,6 @@ export class OpenstreetmapIndexComponent implements OnInit, OnDestroy, AfterView
157157
},
158158
};
159159

160-
// public layers: L.Layer[] = [];
161-
162160
public ngOnInit(): void {
163161

164162
}
@@ -272,7 +270,6 @@ export class OpenstreetmapIndexComponent implements OnInit, OnDestroy, AfterView
272270
}).value();
273271
if (this.hexlayer) {
274272
this.hexlayer.removeFrom(this.map);
275-
//this.hexlayer.remove();
276273
}
277274
this.hexlayer = hexbinLayer({click: (pointData: any) => this.hexClick(pointData)}).addTo(this.map).data(cells);
278275
}
@@ -316,7 +313,6 @@ export class OpenstreetmapIndexComponent implements OnInit, OnDestroy, AfterView
316313
this.settingsFilter.filter.warning |
317314
this.settingsFilter.filter.down_critical |
318315
this.settingsFilter.filter.unreachable_unknown;
319-
// console.log(this.settingsFilter.state_filter);
320316
if(this.settingsFilter.state_filter === 0){
321317
this.settingsFilter.state_filter = 15;
322318
}

src/app/modules/openstreetmap_module/pages/openstreetmap-settings/openstreetmap-settings.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ export class OpenstreetmapSettingsComponent implements OnInit, OnDestroy {
128128
this.post.filter.unreachable_unknown;
129129
this.subscriptions.add(
130130
this.OpenstreetmapService.setOpenstreetmapSettings(this.post).subscribe((result: GenericResponseWrapper): void => {
131-
132-
133131
if (result.success) {
134132
this.errors = null;
135133
this.notyService.genericSuccess();

0 commit comments

Comments
 (0)