@burh/nuxt-core 1.0.279 → 1.0.281

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.
@@ -3,7 +3,11 @@
3
3
  <!-- FERRAMENTAS -->
4
4
  <div class="tools mt-3">
5
5
  <button
6
- @click="$emit(tool.event, isLocked)"
6
+ @click="
7
+ isLocked && tool.event !== 'share'
8
+ ? $emit('open-contact')
9
+ : $emit(tool.event)
10
+ "
7
11
  class="ml-3 burh-color"
8
12
  :class="{
9
13
  'disabled-button': isLocked && tool.event !== 'share'
@@ -213,7 +217,7 @@ export default {
213
217
  data() {
214
218
  return {
215
219
  isLocked: !this.companyHasProduct(
216
- this.$store.state.loja.showableProducts['HISTORICO_USUARIO']
220
+ this.$store.state.loja.showableProducts['INTERACAO_USUARIO']
217
221
  )
218
222
  };
219
223
  },
@@ -226,7 +226,7 @@ export default {
226
226
  acceptedFiles: 'image/*, application/pdf',
227
227
  },
228
228
  isLocked: !this.companyHasProduct(
229
- this.$store.state.loja.showableProducts['INTERACAO_USUARIO']
229
+ this.$store.state.loja.showableProducts['HISTORICO_USUARIO']
230
230
  ),
231
231
  };
232
232
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.279",
3
+ "version": "1.0.281",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {