Commit 5f0e101
committed
fix: skip success toast when GitHub import triggers upgrade modal
addAndIndex returns null when the upgrade modal is shown. The toast
was firing unconditionally -- now only shows on successful add.1 parent 76461e8 commit 5f0e101
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | | - | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
0 commit comments