Activities of "basavraj.chorgasti"

Hello

You can remove the saas parent menu as shown below

import { eSaasRouteNames } from '@volo/abp.ng.saas/config'; 
 
function configureRoutes(routes: RoutesService) { 
  return () => { 
    routes.patch(eSaasRouteNames.Editions, { parentName: null, order: 2 }); 
    routes.patch(eSaasRouteNames.Tenants, { parentName: null, order: 3 }); 
    routes.remove([eSaasRouteNames.Saas]); 
    // ... other route config 
  }; 
} 

hi

**Thank you **** it is working properly for me, and also i have check all other routing enums , i have the all other routing enums but still one is pending that main menu administration ,i have find the routing enums inside the administration **

Hello,

Could you please share your code?

I want to remove the Parent menu of Saas any solution for that ,i have use this code for that but Parent menu is still there

import { RoutesService, eLayoutType } from '@abp/ng.core'; import { APP_INITIALIZER } from '@angular/core';

export const APP_ROUTE_PROVIDER = [ { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true }, ];

function configureRoutes(routes: RoutesService) { return () => {

  routes.remove(['Saas::Editions']);
  routes.remove(['Saas::Tenants']);
  routes.remove(['::Menu:Saas']);

routes.add([
  // {
  //   path: '/',
  //   name: '::Menu:Home',
  //   iconClass: 'fas fa-home',
  //   order: 1,
  //   layout: eLayoutType.application,
  // },
  {
    path: '/dashboard',
    name: 'Dashboard',
    iconClass: 'icon-rsmHome',
    order: 1,
    layout: eLayoutType.application,
    requiredPolicy: 'StoryBook.Dashboard.Host  || StoryBook.Dashboard.Tenant',
  },
  {
    path: '/saas/editions',       
    name: 'Edition',
    iconClass: 'icon-employee',
    order: 2,
    layout: eLayoutType.application,
    requiredPolicy: 'StoryBook.Dashboard.Host  || StoryBook.Dashboard.Tenant',
  },
  {
    path: '/saas/tenants',       
    name: 'Tenants',
    iconClass: 'icon-cards',
    order: 3,
    layout: eLayoutType.application,
    requiredPolicy: 'StoryBook.Dashboard.Host  || StoryBook.Dashboard.Tenant',
  },
]);

}; }

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11