Loading models/donate-form.ini +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ label = URL to redirect to after donation completed successfully type = url [fields.counter] label = Display Counter label = Display matching campaign counter? type = boolean [fields.single_one] Loading parcel/js/campaign_totals.jsx +5 −1 Original line number Diff line number Diff line Loading @@ -21,13 +21,17 @@ const counters = [ ]; export function CampaignTotals(props) { const {donateProccessorBaseUrl} = props; const {donateProccessorBaseUrl, showCounter} = props; const [amounts, setAmounts] = useState({ 'totalDonations': 0, 'totalAmount': 0, 'amountWithMozilla': 0 }); if (showCounter !== 'True') { return null; } const requestTotal = async () => { const options = { headers: { Loading Loading
models/donate-form.ini +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ label = URL to redirect to after donation completed successfully type = url [fields.counter] label = Display Counter label = Display matching campaign counter? type = boolean [fields.single_one] Loading
parcel/js/campaign_totals.jsx +5 −1 Original line number Diff line number Diff line Loading @@ -21,13 +21,17 @@ const counters = [ ]; export function CampaignTotals(props) { const {donateProccessorBaseUrl} = props; const {donateProccessorBaseUrl, showCounter} = props; const [amounts, setAmounts] = useState({ 'totalDonations': 0, 'totalAmount': 0, 'amountWithMozilla': 0 }); if (showCounter !== 'True') { return null; } const requestTotal = async () => { const options = { headers: { Loading