Commit 179ca9e
authored
fix(task-detail): Remove cloudAvailable check, allowing Cloud setup (#2296)
## Problem
I removed my personal integration from my PostHog account, and then I just had no "Cloud" button in new task mode selector – only "Local" and "Worktree", not even a "Connect GitHub for Cloud agents" button. Leaving no way for me to see the error message or reconnect their account.
## Changes
Not hiding the "Cloud" option anymore when "Cloud is not available". Seem to have been introduced in #2045, but I don't quite understand what was the intention of _this specific_ guard.
## How did you test this?
Ran this and indeed was able to connect GH.
---
*Created with [PostHog Code](https://posthog.com/code?ref=pr)*1 parent 7207e22 commit 179ca9e
3 files changed
Lines changed: 4 additions & 19 deletions
File tree
- apps/code/src/renderer/features/task-detail/components
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 0 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
189 | | - | |
190 | | - | |
191 | 188 | | |
192 | 189 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | 190 | | |
197 | 191 | | |
198 | 192 | | |
| |||
203 | 197 | | |
204 | 198 | | |
205 | 199 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 200 | | |
213 | 201 | | |
214 | 202 | | |
| |||
642 | 630 | | |
643 | 631 | | |
644 | 632 | | |
645 | | - | |
646 | 633 | | |
647 | 634 | | |
648 | 635 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
0 commit comments