Skip to content

Commit

Permalink
fix: Corrige reatividade do componente (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedro0000 authored Jul 22, 2024
1 parent 4da6dd1 commit 516264a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Models/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

class Version {

const VERSION = '2.15.4';
const VERSION = '2.15.5';
}
9 changes: 3 additions & 6 deletions assets/src/admin/components/Pedidos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,9 @@ export default {
ordersWithValidationProducts() {
return this.orders.map((order) => {
const products = Object.values(order.products);
const existInvalidProduct = products.some(product => product["type"] === 'invalid');
return {
...order,
existInvalidProduct,
products
};
order.existInvalidProduct = products.some(product => product.type === 'invalid');
return order;
});
}
},
Expand Down
2 changes: 1 addition & 1 deletion melhor-envio-beta.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Melhor Envio
Plugin URI: https://melhorenvio.com.br
Description: Plugin para cotação e compra de fretes utilizando a API da Melhor Envio.
Version: 2.15.4
Version: 2.15.5
Author: Melhor Envio
Author URI: melhorenvio.com.br
License: GPL2
Expand Down
11 changes: 9 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Melhor Envio ===
Version: 2.15.4
Version: 2.15.5
Tags: frete, fretes, cotação, cotações, correios, envio, jadlog, latam latam cargo, azul, azul cargo express, melhor envio
Requires at least: 4.7
Tested up to: 6.5
Stable tag: 2.15.4
Stable tag: 2.15.5
Requires PHP: 7.2+
Requires Wordpress 4.0+
Requires WooCommerce 4.0+
Expand Down Expand Up @@ -68,6 +68,13 @@ Observação: Atenção com as medidas de unidades utilizadas, cuidado se você
Pronto! o plugin do Melhor Envio está funcionando.

== Changelog ==
= 2.15.5 =
* Corrige reatividade na adição dos dados de NF.

= 2.15.4 =
* Adiciona plugins requiridos pelo ME.
* Adiciona tratativas para produtos excluídos.

= 2.15.3 =
* Corrige lentidão no checkout.

Expand Down

0 comments on commit 516264a

Please sign in to comment.