Activities of "Anjali_Musmade"

Answer

Hello nabass,

could you please accept the answer and close the ticket if your issue is resolved?

Thanks

Answer

Hello nabass,

Thanks for updating.

Now to hide side menu you need to implement AfterViewInit in app.component.ts file and add below code

ngAfterViewInit(): void {
     if (!document.getElementById('lpx-wrapper').classList.contains('hover-trigger') && this.authService.isAuthenticated) {
      document.getElementById('lpx-wrapper').classList.add('hover-trigger');
      document.getElementById('lpx-wrapper').classList.add('initial-hover');
    }
  }

now your app.component.ts file code will look like this

It will result after login like

I hope I answered your question.

Thanks, Anjali

Answer

Hello nabass,

If you want to navigate the Pos page after logging in, add the code below to your app.component.ts In my example I have taken products page

export class AppComponent implements OnInit {

constructor(private authService: AuthService,
            private router:Router){}

ngOnInit() {

  if(this.authService.isAuthenticated){
       this.router.navigate(['/products']);
  }
  else{
      this.router.navigate(['/']);
  }
}
}

If you require I can share sample project too? please let me know if needed.

I will give you a workaround to hide the sidemenu bar asap.

Thanks,

Answer

Hello nabass,

I apologize for the delay. Please allow some time I am working on it.

Thanks

Hi,

please check https://www.npmjs.com/package/@volo/abp.commercial.ng.ui?activeTab=code

Thanks

Answer

Ok Let me check ...

Hello,

Please checkout this book page https://abp.io/docs/latest/tutorials/book-store/part-02?UI=NG&DB=EF#bookcomponent

thanks,

Answer

Hello,

loginPage has a returnUrl parameter in MVC side. If you send a returnUrl parameter it should navigate to your URL

And to hide side menu please check the similar issue if it helps you https://abp.io/support/questions/1664/Hide-menu-after-Login

Thanks

Hello,

Try to delete yarn.lock file and run yarn command and then npm start

Thanks

Hi,

I apologize if I misunderstood your case, can you please elaborate in detail on what you expect?

regards,

Showing 21 to 30 of 1087 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13