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
4 changes: 3 additions & 1 deletion frontend/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export class AppComponent {
filter(event => event instanceof NavigationEnd)
)
.subscribe(() => {
this.page = this.router.routerState.snapshot.url;
this.page = this.router.routerState.snapshot.url.split('?')[0];

console.log('Navigated to page:', this.page);

Copilot AI Nov 13, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This console.log statement appears to be debugging code and should be removed before merging to production. Debug logging statements can clutter the console and are typically not needed in production code.

Suggested change
console.log('Navigated to page:', this.page);

Copilot uses AI. Check for mistakes.

if (this.router.routerState.snapshot.root.queryParams.mode === 'demo') {
console.log('App component, demo mode search params found');
Expand Down
14 changes: 1 addition & 13 deletions frontend/src/app/components/upgrade/upgrade.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import { CommonModule } from '@angular/common';
import { CompanyService } from 'src/app/services/company.service';
import { MatButtonModule } from '@angular/material/button';
import { MatChipsModule } from '@angular/material/chips';
import { MatIconModule } from '@angular/material/icon';
import { MatTableModule } from '@angular/material/table';
import { PaymentService } from 'src/app/services/payment.service';
import { PlanKey } from 'src/app/models/plans';
import { RouterModule } from '@angular/router';
import plans from '../../consts/plans';
import { MatIconModule } from '@angular/material/icon';

@Component({
selector: 'app-upgrade',
Expand Down Expand Up @@ -109,18 +109,6 @@ export class UpgradeComponent implements OnInit {
]

features = [
// {
// title: 'Database',
// free: 'MySQL, PostgreSQL, MongoDB',
// team: 'MySQL, PostgreSQL, MongoDB',
// enterprise: 'MySQL, PostgreSQL, MongoDB, \n Oracle, Microsoft SQL'
// },
// {
// title: 'Number of users',
// free: 'up to 3 members',
// team: 'per 10 members',
// enterprise: 'per 10 members'
// },
{
title: 'Standard actions (CRUD)',
free: true,
Expand Down