forked from jsnbuchanan/crowd-funder-for-time-pwa
chore: lint-fix
This commit is contained in:
@@ -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;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user