Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/app/core/auth/user-route-access-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export class UserRouteAccessService implements CanActivate {
}
return false;
} else {
console.log('URL:', url);
this.stateStorageService.storeUrl(url);
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down Expand Up @@ -122,7 +121,6 @@ export class LogAnalyzerTabsComponent implements OnInit, OnDestroy {
}

ngOnDestroy(): void {
console.log('destroy');
this.destroy$.next();
this.destroy$.complete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
) ||
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<div class="custom-flex-item custom-flex-item-grow-1">
<div class="form-group form-group-feedback form-group-feedback-left m-0">
<input
autofocus
[(ngModel)]="searchTerm"
[placeholder]="'Search source'"
class="form-control"
Expand Down Expand Up @@ -89,7 +90,6 @@
</div>
</div>

<!-- Listado de patrones de índice -->
<div class="custom-list-container" role="listbox" id="indexPatternList">
<div
*ngFor="let pat of patterns | filter: searchTerm"
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/app/shared/pipes/timezone-offset.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import * as moment from 'moment-timezone';
export class TimezoneOffsetPipe implements PipeTransform {

transform(timezone: string): string {
console.log(timezone);
const offset = moment.tz(timezone).format('Z'); // Obtener offset como +02:00
return `GMT${offset}`; // Concatenar con 'GMT'
const offset = moment.tz(timezone).format('Z');
return `GMT${offset}`;
}

}
2 changes: 1 addition & 1 deletion frontend/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
export const environment = {
production: false,
// SERVER_API_URL: 'https://192.168.1.18/',
SERVER_API_URL: 'http://localhost:8081/',
SERVER_API_URL: 'http://localhost:8080/',
SERVER_API_CONTEXT: '',
SESSION_AUTH_TOKEN: window.location.host.split(':')[0].toLocaleUpperCase(),
WEBSOCKET_URL: '//localhost:8080',
Expand Down