Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1252 from SumOfUs/development
Browse files Browse the repository at this point in the history
release
  • Loading branch information
osahyoun committed Sep 4, 2018
2 parents fc79999 + f0a9cd4 commit 5a00b20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/javascript/member-facing/double_opt_in.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DoubleOptIn = {
},

handleActionSuccess(resp: Response) {
if (!resp.double_opt_in) return;
if (!resp || !resp.double_opt_in) return;

if (DoubleOptIn.version() === 2) {
showNotice();
Expand Down
4 changes: 3 additions & 1 deletion app/javascript/packs/fundraiser.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ function mount(root: string, options: any, Component?: any = FundraiserView) {
}

window.mountFundraiser = function(root: string, data: MountFundraiserOptions) {
const search: SearchParams = queryString.parse(location.search);
const search: SearchParams = queryString.parse(location.search, {
arrayFormat: 'bracket',
});
const { personalization, page } = window.champaign;
dispatch({
type: 'initialize_fundraiser',
Expand Down

0 comments on commit 5a00b20

Please sign in to comment.