@nixweb/nixloc-ui 0.0.309 → 0.0.310

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": "@nixweb/nixloc-ui",
3
- "version": "0.0.309",
3
+ "version": "0.0.310",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -68,7 +68,7 @@
68
68
  </span>
69
69
  <span class="div-new"
70
70
  v-if="item.showNewUntil && showNewUntil(item.showNewUntil)">
71
- Novo
71
+ Novo
72
72
  </span>
73
73
  </span>
74
74
  </b-col>
@@ -204,9 +204,11 @@ export default {
204
204
  let filter = [];
205
205
  let self = this;
206
206
  let userLogged = this.userLogged.user.userName;
207
+ let companyId = this.userLogged.companyId;
207
208
  this.menu.items.forEach(function (obj) {
208
209
  if (obj.isModule == isModule && obj.module === self.module) {
209
210
  if (obj.isVisible == "all") filter.push(obj);
211
+ if (obj.isVisible == companyId) filter.push(obj);
210
212
 
211
213
  if (obj.isVisible == "support" && userLogged == "UserTemp")
212
214
  filter.push(obj);