diff --git a/frontend/src/app/active-directory/shared/components/active-directory-tree/active-directory-tree.component.ts b/frontend/src/app/active-directory/shared/components/active-directory-tree/active-directory-tree.component.ts index 40fb31837..cf9e59419 100644 --- a/frontend/src/app/active-directory/shared/components/active-directory-tree/active-directory-tree.component.ts +++ b/frontend/src/app/active-directory/shared/components/active-directory-tree/active-directory-tree.component.ts @@ -154,7 +154,6 @@ getAllInfo() { } deploy(item: TreeItem) { - console.log(item); const index = this.deployed.findIndex(value => value === item.id); if (index === -1) { this.deployed.push(item.id); diff --git a/frontend/src/app/compliance/compliance-reports-view/components/compliance-report-detail/compliance-report-detail.component.ts b/frontend/src/app/compliance/compliance-reports-view/components/compliance-report-detail/compliance-report-detail.component.ts index 58436e3b8..bed596c22 100644 --- a/frontend/src/app/compliance/compliance-reports-view/components/compliance-report-detail/compliance-report-detail.component.ts +++ b/frontend/src/app/compliance/compliance-reports-view/components/compliance-report-detail/compliance-report-detail.component.ts @@ -55,15 +55,6 @@ export class ComplianceReportDetailComponent implements OnInit { } @Input() set report(report: ComplianceReportType) { - /*if (report) { - this._report = report; - this.request = { - ...this.request, - 'idDashboard.equals': report.dashboardId, - }; - this.utmRenderVisualization.notifyRefresh(true); - }*/ - if (report) { this._report = report; const visualizationType: UtmDashboardVisualizationType = report.dashboard.find(vis => diff --git a/frontend/src/app/core/auth/user-route-access-service.ts b/frontend/src/app/core/auth/user-route-access-service.ts index ab58835a8..90fc38195 100644 --- a/frontend/src/app/core/auth/user-route-access-service.ts +++ b/frontend/src/app/core/auth/user-route-access-service.ts @@ -37,7 +37,6 @@ export class UserRouteAccessService implements CanActivate { } return false; } else { - console.log('URL:', url); this.stateStorageService.storeUrl(url); return false; } diff --git a/frontend/src/app/log-analyzer/explorer/log-analyzer-tabs/log-analyzer-tabs.component.ts b/frontend/src/app/log-analyzer/explorer/log-analyzer-tabs/log-analyzer-tabs.component.ts index b04c1fe8b..5aa270601 100644 --- a/frontend/src/app/log-analyzer/explorer/log-analyzer-tabs/log-analyzer-tabs.component.ts +++ b/frontend/src/app/log-analyzer/explorer/log-analyzer-tabs/log-analyzer-tabs.component.ts @@ -57,7 +57,6 @@ export class LogAnalyzerTabsComponent implements OnInit, OnDestroy { const isRefresh = params.refreshRoute || null; if (this.queryId) { this.logAnalyzerQueryService.find(this.queryId).subscribe(vis => { - console.log('QUERY:', vis); this.query = vis.body; this.addNewTab(this.query.name, this.query, params); }); @@ -122,7 +121,6 @@ export class LogAnalyzerTabsComponent implements OnInit, OnDestroy { } ngOnDestroy(): void { - console.log('destroy'); this.destroy$.next(); this.destroy$.complete(); } diff --git a/frontend/src/app/log-analyzer/explorer/log-analyzer-view/log-analyzer-view.component.ts b/frontend/src/app/log-analyzer/explorer/log-analyzer-view/log-analyzer-view.component.ts index 7d220c2a2..9ee387462 100644 --- a/frontend/src/app/log-analyzer/explorer/log-analyzer-view/log-analyzer-view.component.ts +++ b/frontend/src/app/log-analyzer/explorer/log-analyzer-view/log-analyzer-view.component.ts @@ -284,7 +284,6 @@ export class LogAnalyzerViewComponent implements OnInit, OnDestroy { } this.tableWidth = this.pageWidth - this.filterWidth - 51; - console.log('tableWidth', this.tableWidth); } changeFields(pattern: UtmIndexPattern) { @@ -378,7 +377,6 @@ export class LogAnalyzerViewComponent implements OnInit, OnDestroy { @HostListener('window:resize', ['$event']) onResizeWindows(event: any) { - console.log('resize', event); this.pageWidth = event.target.innerWidth; this.setInitialWidth(); } diff --git a/frontend/src/app/log-analyzer/shared/components/tab-content/tab-content.component.ts b/frontend/src/app/log-analyzer/shared/components/tab-content/tab-content.component.ts index 2afcd761a..43411aaed 100644 --- a/frontend/src/app/log-analyzer/shared/components/tab-content/tab-content.component.ts +++ b/frontend/src/app/log-analyzer/shared/components/tab-content/tab-content.component.ts @@ -17,7 +17,6 @@ export class TabContentComponent implements OnInit { } ngOnInit() { - console.log('data:', this.tab.tabData); const tab: TabType = this.tab; const componentFactory = this.componentFactoryResolver.resolveComponentFactory( tab.component diff --git a/frontend/src/app/log-analyzer/shared/services/tab.service.ts b/frontend/src/app/log-analyzer/shared/services/tab.service.ts index 2311e1fe3..c00d32a6d 100644 --- a/frontend/src/app/log-analyzer/shared/services/tab.service.ts +++ b/frontend/src/app/log-analyzer/shared/services/tab.service.ts @@ -111,7 +111,6 @@ export class TabService { * Emit the latest state of the tabs. */ private emitTabs(): void { - console.log(this.tabs); this.tabSubject.next(this.tabs); } } diff --git a/frontend/src/app/shared/components/auth/login/login.component.ts b/frontend/src/app/shared/components/auth/login/login.component.ts index 479e4f476..e323f1e87 100644 --- a/frontend/src/app/shared/components/auth/login/login.component.ts +++ b/frontend/src/app/shared/components/auth/login/login.component.ts @@ -84,7 +84,6 @@ export class LoginComponent implements OnInit { } checkLogin(url ?: string) { - console.log('Checking URL token'); this.accountService.identity(true).then(value => { setTimeout(() => { if (value) { diff --git a/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter-add/elastic-filter-add.component.html b/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter-add/elastic-filter-add.component.html index 86f4c1328..8e7f51c99 100644 --- a/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter-add/elastic-filter-add.component.html +++ b/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter-add/elastic-filter-add.component.html @@ -111,7 +111,9 @@ !formFilter.valid || ( (formFilter.get('operator').value !== operatorEnum.IS_BETWEEN && + formFilter.get('operator').value !== operatorEnum.EXIST && formFilter.get('operator').value !== operatorEnum.IS_NOT_BETWEEN && + formFilter.get('operator').value !== operatorEnum.DOES_NOT_EXIST && !formFilter.get('value').value ) || ( diff --git a/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter.component.ts b/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter.component.ts index 72fd5c4bc..1d8ca35e0 100644 --- a/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter.component.ts +++ b/frontend/src/app/shared/components/utm/filters/utm-elastic-filter/elastic-filter.component.ts @@ -47,10 +47,9 @@ export class ElasticFilterComponent implements OnInit, OnDestroy { if (filterType.status === 'ACTIVE') { if (!filterType.value) { this.popoverFilter.close(); - this.selectFilter(filterType, this.filters.length - 1); + this.selectFilter(filterType, this.filters.length); this.editMode = true; - setTimeout(() => this.popoverFilter.open(), - 300); + this.popoverFilter.open(); } this.filters.push(filterType); diff --git a/frontend/src/app/shared/components/utm/index-pattern/index-pattern-select/index-pattern-select.component.html b/frontend/src/app/shared/components/utm/index-pattern/index-pattern-select/index-pattern-select.component.html index 3a8945802..2cb542ccb 100644 --- a/frontend/src/app/shared/components/utm/index-pattern/index-pattern-select/index-pattern-select.component.html +++ b/frontend/src/app/shared/components/utm/index-pattern/index-pattern-select/index-pattern-select.component.html @@ -54,6 +54,7 @@
-