Skip to content

Commit a731a33

Browse files
committed
chore: hid report btn
1 parent 9c31ff0 commit a731a33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/shared/utils/managerDefault.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const getNavigatorDefault = (test, accessLevel, route, type) => {
1212
items.push(
1313
{ title: 'Test', icon: ICONS.DOCUMENT_EDIT, path: `/${type}/edit/${test.id}` },
1414
{ title: 'Preview', icon: ICONS.PREVIEW, path: `/testview/${test.id}` },
15-
{ title: 'Reports', icon: ICONS.BOOK, path: `/${type}/report/${test.id}` },
15+
// { title: 'Reports', icon: ICONS.BOOK, path: `/${type}/report/${test.id}` },
1616
{ title: 'Answers', icon: ICONS.ORDER, path: `/${type}/answer/${test.id}` },
1717
{ title: 'Cooperators', icon: ICONS.ACCOUNT_GROUP, path: `/${type}/cooperators/${test.id}` },
1818
{ title: 'Settings', icon: ICONS.COG, path: `/${type}/settings/${test.id}` }

src/ux/UserTest/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default [
1919
path: '/userTest/unmoderated/report/:id/:token?',
2020
name: 'UserUnmoderatedReportView',
2121
props: true,
22-
meta: { authorize: [0, 1] },
22+
meta: { authorize: [0] },
2323
component: ReportView,
2424
},
2525
{

0 commit comments

Comments
 (0)