Petits fixes et petits conforts #543

Merged
uberwald merged 4 commits from VincentVk/foundryvtt-reve-de-dragon:v1.5 into v1.5 2022-07-22 10:45:44 +02:00
Showing only changes of commit d51243d74f - Show all commits

View File

@ -55,7 +55,7 @@ export class DialogItemAchat extends Dialog {
static prepareVenteData(buttonAcheter, vendeurId, vendeur, acheteur) {
const jsondata = buttonAcheter.attributes['data-jsondata']?.value;
const prixLot = buttonAcheter.attributes['data-prixLot']?.value ?? 0;
const prixLot = parseInt(buttonAcheter.attributes['data-prixLot']?.value ?? 0);
let venteData = {
item: JSON.parse(jsondata),
vendeurId: vendeurId,