@nixweb/nixloc-ui 0.0.54 → 0.0.55

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.54",
3
+ "version": "0.0.55",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -150,8 +150,8 @@ export default {
150
150
  },
151
151
  watch: {
152
152
  metodoExecutadoApi: function (value) {
153
- if (value != "obterTodosApi" && value != "" && value != "escolherApi") {
154
- // this.obterTodos();
153
+ if (value == "deleteAllApi") {
154
+ this.obterTodos();
155
155
  }
156
156
  },
157
157
  buscouPesquisa: function () {
@@ -247,7 +247,7 @@ export default {
247
247
  })
248
248
  .then((response) => {
249
249
  if (response.data.sucesso) {
250
- context.commit('insereMetodoExecutadoApi', 'deleteApi')
250
+ context.commit('insereMetodoExecutadoApi', 'deleteAllApi');
251
251
  context.commit('insereToast', 'deleteApiSucesso');
252
252
  context.commit('removeNotificacao');
253
253
  return response.data;