أنشطة "masum.ulu"

إجابة

Hi andmattia, Your code just prevent go to link not hide item from menu, you need to set permission or create new condition for visiblity of route item for example

function configureRoutes(routesService: RoutesService) {
  const config = inject(ConfigStateService);
  const isHost = config.getOne('currentUser').roles.includes('host');

  return () => {
    routesService.add([
      {
        path: '/identity',
        name: '::Menu:IdentityManagement',
        iconClass: 'fas fa-users',
        order: 2,
        layout: eLayoutType.application,
        
        //This
        invisible: isHost,
        //Or this
        requiredPolicy: 'AbpIdentity.Roles',
      },
    ]);
  };
}
إجابة

Hi burkay,

We fix this issue on (2.1.1) version can you update and try again

Hi again Alex,

We fixed this issue at 7.0 patch version

I've noticed I have not indicated used UI type. We are using Angular, not Blazor. Could you please try that one?

Hi Alexandre,

It looks like there is a problem 5.3 version and later, I created an issue for this I'll fix it

إجابة

If your problem is solved I'm closing this question ?

إجابة

Hi fernando,

If you want to customize all account module you can add with source code, which is you already did but in that way you are responsible for the module, all these component is belongs to account module. Also you can replace some component part of account module with ComponentReplacement

إجابة

Hi Paul,

We find a way out for this problem but It's not that effective, that's why lookin' for better solution I already create an issue for this

إجابة

Maybe an injection token is needed?

Hi Paul, No It's not about Injection Token we can already replace component there is something else , I'm still working on it, Also when you try with TopMenuLayoutModule It's works as expected. This issue will be resolved today

إجابة

Hi pablo sorry for return late,

It looks like a bug inside of application-layout-component we created an issue for this It'll fixed at next version of lepton-x theme

Best regards

إجابة

Hi Paul,

It looks like the application is loading default mobile navbar at the beging, when you open navbar-routes component it's replacing with your custom mobile component. I'm workin' on it I'll back to you for solution thanks for your understanding

عرض 171 الي 180 من 190 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11