|
58 | 58 | label: option.displayName,
|
59 | 59 | value: option.schemeIdentifer
|
60 | 60 | }));
|
61 |
| - const settingsStore = $derived(settingsService.appSettings); |
62 |
| - const canUseActions = $derived($settingsStore?.featureFlags.actions ?? false); |
63 | 61 |
|
64 | 62 | $effect(() => {
|
65 | 63 | if ($user && !loaded) {
|
|
221 | 219 | {/snippet}
|
222 | 220 | </SectionCard>
|
223 | 221 |
|
224 |
| -{#if canUseActions} |
225 |
| - <SectionCard orientation="column"> |
226 |
| - {#snippet title()} |
227 |
| - Install the GitButler CLI (but) |
228 |
| - {/snippet} |
| 222 | +<SectionCard orientation="column"> |
| 223 | + {#snippet title()} |
| 224 | + Install the GitButler CLI (but) |
| 225 | + {/snippet} |
229 | 226 |
|
230 |
| - {#snippet caption()} |
231 |
| - Installs the GitButler CLI (but) in your PATH, allowing you to use it from the terminal. This |
232 |
| - action will request admin privileges. Alternatively, you could create a symlink manually. |
| 227 | + {#snippet caption()} |
| 228 | + Installs the GitButler CLI (but) in your PATH, allowing you to use it from the terminal. This |
| 229 | + action will request admin privileges. Alternatively, you could create a symlink manually. |
233 | 230 |
|
234 |
| - {#if showSymlink} |
235 |
| - <CliSymLink class="m-top-14" /> |
236 |
| - {/if} |
237 |
| - {/snippet} |
| 231 | + {#if showSymlink} |
| 232 | + <CliSymLink class="m-top-14" /> |
| 233 | + {/if} |
| 234 | + {/snippet} |
238 | 235 |
|
239 |
| - <div class="flex flex-col gap-16"> |
240 |
| - <div class="flex gap-8 justify-end"> |
241 |
| - <Button style="pop" icon="play" onclick={async () => await invoke('install_cli')} |
242 |
| - >Install But CLI</Button |
243 |
| - > |
244 |
| - <Button |
245 |
| - style="neutral" |
246 |
| - kind="outline" |
247 |
| - disabled={showSymlink} |
248 |
| - onclick={() => (showSymlink = !showSymlink)}>Show symlink</Button |
249 |
| - > |
250 |
| - </div> |
| 236 | + <div class="flex flex-col gap-16"> |
| 237 | + <div class="flex gap-8 justify-end"> |
| 238 | + <Button style="pop" icon="play" onclick={async () => await invoke('install_cli')} |
| 239 | + >Install But CLI</Button |
| 240 | + > |
| 241 | + <Button |
| 242 | + style="neutral" |
| 243 | + kind="outline" |
| 244 | + disabled={showSymlink} |
| 245 | + onclick={() => (showSymlink = !showSymlink)}>Show symlink</Button |
| 246 | + > |
251 | 247 | </div>
|
252 |
| - </SectionCard> |
253 |
| -{/if} |
| 248 | + </div> |
| 249 | +</SectionCard> |
254 | 250 |
|
255 | 251 | <Spacer />
|
256 | 252 |
|
|
0 commit comments