Commit 7bdb033
committed
7541 Save plugin selection on onboarding complete
Previously, the plugin selection a user made was only stored if the next onboarding state was `.complete`.
Our original intention was to only save their selection when they reached `.complete`, so that if they returned to an unfinished onboarding flow they would start from the beginning, including the plugin selection.
This change fixes the bug that we wouldn’t save if they saw another onboarding step before `.complete`, by deferring the save until `.complete` rather than only checking the very next state.1 parent 0ee8622 commit 7bdb033
File tree
1 file changed
+12
-3
lines changed- WooCommerce/Classes/ViewRelated/Dashboard/Settings/In-Person Payments
1 file changed
+12
-3
lines changedLines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
0 commit comments