Fix #5110 UI : Hide bots link from setting dropdown if user is not an admin (#5113)

This commit is contained in:
Sachin Chaurasiya 2022-05-24 13:02:27 +05:30 committed by GitHub
parent ee05e33bc9
commit 06b27d0a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,7 +375,7 @@ export const navLinkDevelop = [
];
export const navLinkSettings = [
{ name: 'Bots', to: '/bots', disabled: false },
{ name: 'Bots', to: '/bots', disabled: false, isAdminOnly: true },
{ name: 'Glossaries', to: '/glossary', disabled: false },
{ name: 'Roles', to: '/roles', disabled: false, isAdminOnly: true },
{ name: 'Services', to: '/services', disabled: false },