|
|
@ -266,14 +266,14 @@ export function _viewMenu(roleType, mode) { |
|
|
|
// Download / Upload CSV
|
|
|
|
// Download / Upload CSV
|
|
|
|
menuWithSubmenuCount = 2; |
|
|
|
menuWithSubmenuCount = 2; |
|
|
|
// Get API Snippet and ERD
|
|
|
|
// Get API Snippet and ERD
|
|
|
|
menuWithoutSubmenuCount = 2 |
|
|
|
menuWithoutSubmenuCount = 2; |
|
|
|
// ERD
|
|
|
|
// ERD
|
|
|
|
if(mode === 'baseShare') menuWithoutSubmenuCount = 1 |
|
|
|
if (mode === "baseShare") menuWithoutSubmenuCount = 1; |
|
|
|
} else if (roleType === "commenter" || roleType === "viewer") { |
|
|
|
} else if (roleType === "commenter" || roleType === "viewer") { |
|
|
|
// Download CSV & Download excel
|
|
|
|
// Download CSV & Download excel
|
|
|
|
menuWithSubmenuCount = 0; |
|
|
|
menuWithSubmenuCount = 0; |
|
|
|
// Get API Snippet and ERD
|
|
|
|
// Get API Snippet and ERD
|
|
|
|
menuWithoutSubmenuCount = 2 |
|
|
|
menuWithoutSubmenuCount = 2; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// view list field (default GRID view)
|
|
|
|
// view list field (default GRID view)
|
|
|
|