chore: lint-fix

This commit is contained in:
Matthew Raymer
2025-08-12 08:14:10 +00:00
parent 85f0283278
commit 2afe61d752
2 changed files with 5 additions and 8 deletions

View File

@@ -187,9 +187,10 @@ export default class DataExportSection extends Vue {
const exContact: Contact = R.omit(["contactMethods"], contact); const exContact: Contact = R.omit(["contactMethods"], contact);
// now add contactMethods as a true array of ContactMethod objects // now add contactMethods as a true array of ContactMethod objects
exContact.contactMethods = contact.contactMethods exContact.contactMethods = contact.contactMethods
? (typeof contact.contactMethods === 'string' && contact.contactMethods.trim() !== '' ? typeof contact.contactMethods === "string" &&
? JSON.parse(contact.contactMethods) contact.contactMethods.trim() !== ""
: []) ? JSON.parse(contact.contactMethods)
: []
: []; : [];
return exContact; return exContact;
}); });

View File

@@ -18,7 +18,7 @@ Raymer */
<div class="flex mb-4"> <div class="flex mb-4">
<AmountInput <AmountInput
:value="parseFloat(amountInput) || 0" :value="parseFloat(amountInput) || 0"
:onUpdateValue="handleAmountUpdate" :on-update-value="handleAmountUpdate"
data-testId="inputOfferAmount" data-testId="inputOfferAmount"
/> />
@@ -152,8 +152,6 @@ export default class OfferDialog extends Vue {
}; };
} }
// ================================================= // =================================================
// COMPONENT METHODS // COMPONENT METHODS
// ================================================= // =================================================
@@ -199,8 +197,6 @@ export default class OfferDialog extends Vue {
this.visible = false; this.visible = false;
} }
/** /**
* Handle amount updates from AmountInput component * Handle amount updates from AmountInput component
* @param value - New amount value * @param value - New amount value