mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 15:06:43 +00:00
feat(nc-gui): Integrated menuWithoutSubmenuCount in the case of Shared base in roleValidation test
This commit is contained in:
@@ -267,7 +267,8 @@ export function _viewMenu(roleType, mode) {
|
||||
menuWithSubmenuCount = 2;
|
||||
// Get API Snippet and ERD
|
||||
menuWithoutSubmenuCount = 2
|
||||
if(mode === 'baseShare') menuWithoutSubmenuCount = 0
|
||||
// ERD
|
||||
if(mode === 'baseShare') menuWithoutSubmenuCount = 1
|
||||
} else if (roleType === "commenter" || roleType === "viewer") {
|
||||
// Download CSV & Download excel
|
||||
menuWithSubmenuCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user