From 11a0f624528ed20e191ad35625aaffce37758edf Mon Sep 17 00:00:00 2001 From: Du Peng Date: Wed, 12 Oct 2022 19:40:49 +0200 Subject: [PATCH] (bug) cannot access store --- app/frontend/src/javascript/router.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/frontend/src/javascript/router.js b/app/frontend/src/javascript/router.js index d4063a1d7..95d8b3a4a 100644 --- a/app/frontend/src/javascript/router.js +++ b/app/frontend/src/javascript/router.js @@ -634,9 +634,6 @@ angular.module('application.router', ['ui.router']) controller: 'StoreController' } }, - data: { - authorizedRoles: Fablab.storeHidden ? ['admin', 'manager'] : undefined - }, params: { categoryTypeUrl: { dynamic: true, raw: true, type: 'path', value: null, squash: true }, category: { dynamic: true, type: 'path', raw: true, value: null, squash: true },