Skip to content

Commit 2e5e84e

Browse files
committed
closing receipts should show plans if there are any
1 parent df9ff15 commit 2e5e84e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/monthly-giving-circle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class MonthlyGivingCircle extends LitElement {
7777
class="link slim"
7878
id="close-receipts"
7979
.clickHandler=${async () => {
80-
this.viewToDisplay = 'welcome';
80+
this.viewToDisplay = this.plans.length ? 'plans' : 'welcome';
8181
this.dispatchEvent(new CustomEvent('ShowWelcome'));
8282
this.updates = [];
8383
await this.updateComplete;

0 commit comments

Comments
 (0)