@nixweb/nixloc-ui 0.0.61 → 0.0.62

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.61",
3
+ "version": "0.0.62",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -150,7 +150,8 @@ export default {
150
150
  },
151
151
  watch: {
152
152
  metodoExecutadoApi: function (value) {
153
- if (value == "deleteAllApi") {
153
+ console.log(value);
154
+ if (value === "deleteAllApi" || value === "deleteAllApiErro") {
154
155
  this.obterTodos();
155
156
  }
156
157
  },
@@ -256,6 +256,7 @@ export default {
256
256
  return response.data;
257
257
  } else {
258
258
  context.commit('insereNotificacao', response.data.notificacoes)
259
+ context.commit('insereMetodoExecutadoApi', 'deleteAllApiErro');
259
260
  context.commit('insereToast', 'deleteApiErro');
260
261
  return response.data;
261
262
  }