Browse Source

Suppression liens "Créer" dans le menu (bug après la création)

v1
Guillaume 3 years ago
parent
commit
93c29b8ee2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Controller/Admin/DashboardController.php

+ 2
- 2
src/Controller/Admin/DashboardController.php View File

->setPermission(self::ROLE_ADMIN) ->setPermission(self::ROLE_ADMIN)
->setSubItems( ->setSubItems(
[ [
MenuItem::linkToUrl('data_individual_new', 'fas fa-plus', $urlNewIndividuel),
//MenuItem::linkToUrl('data_individual_new', 'fas fa-plus', $urlNewIndividuel),
MenuItem::linkToUrl('data_individual_waiting', 'fas fa-hourglass-half', $urlOfflineIndividuel), MenuItem::linkToUrl('data_individual_waiting', 'fas fa-hourglass-half', $urlOfflineIndividuel),
MenuItem::linkToUrl('data_individual_validate', 'fas fa-check', $urlOnlineIndividuel), MenuItem::linkToUrl('data_individual_validate', 'fas fa-check', $urlOnlineIndividuel),
] ]
->setPermission(self::ROLE_ADMIN) ->setPermission(self::ROLE_ADMIN)
->setSubItems( ->setSubItems(
[ [
MenuItem::linkToUrl('data_collectif_new', 'fas fa-plus', $urlNewCollectif),
///MenuItem::linkToUrl('data_collectif_new', 'fas fa-plus', $urlNewCollectif),
MenuItem::linkToUrl('data_collectif_waiting', 'fas fa-hourglass-half', $urlOfflineCollectif), MenuItem::linkToUrl('data_collectif_waiting', 'fas fa-hourglass-half', $urlOfflineCollectif),
MenuItem::linkToUrl('data_collectif_validate', 'fas fa-check', $urlOnlineCollectif), MenuItem::linkToUrl('data_collectif_validate', 'fas fa-check', $urlOnlineCollectif),
] ]

Loading…
Cancel
Save