@sgcloud-sgsistemas/base 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sgcloud-sgsistemas/base",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Base para os sistemas da mobiage",
5
5
  "repository": {
6
6
  "type": "private",
@@ -215,7 +215,7 @@ const controller = function ($scope, $timeout, mbSidemenuService, hotkeys) {
215
215
  link.children.forEach((element) => {
216
216
  prepareLink(element);
217
217
  });
218
- } else if (link.type === undefined || link.type === 'btn') {
218
+ } else if ((link.type === undefined || link.type === 'btn') && !link.hide) {
219
219
  links.push({
220
220
  type: 'Menu',
221
221
  name: link.label,