@burh/nuxt-core 1.1.13 → 1.1.14

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.
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <base-header class="app-header" :type="'white'">
3
- <div class="row justify-content-between app__header">
3
+ <div :class="headerClass">
4
4
  <div
5
5
  :class="{ 'images__container': users.length }"
6
6
  class="col-8 my-auto header__container"
@@ -104,10 +104,18 @@ export default {
104
104
  ElDropdownMenu: DropdownMenu,
105
105
  ElDropdownItem: DropdownItem,
106
106
  },
107
+ computed: {
108
+ headerClass() {
109
+ const baseClass = 'justify-content-between app__header';
110
+ const regex = /\/admissao\/\d+\/\d+/;
111
+ return regex.test(this.currentPath) ? baseClass : `row ${baseClass}`;
112
+ },
113
+ },
107
114
  data(){
108
115
  return{
109
116
  default: '',
110
- activeUserId: null
117
+ activeUserId: null,
118
+ currentPath: ''
111
119
  };
112
120
  },
113
121
  props:{
@@ -161,6 +169,9 @@ export default {
161
169
  this.$emit('active-user', null);
162
170
  }
163
171
  }
172
+ },
173
+ mounted() {
174
+ this.currentPath = window.location.pathname;
164
175
  }
165
176
  };
166
177
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "private": false,