Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion apps/web/src/app/(onboarding)/setup/StepAuthEnvVars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,16 @@ export function StepAuthEnvVars({
selectedProvider.runtimeSatisfied;
const selectedProviderHasEditableFields =
visibleFields.some((field) => !field.runtimeSatisfied) ?? false;
// Slack "owns" the step actions only while its intro screen is shown, which
// is the same condition SlackSetupExperience uses to render that intro. If a
// saved (or runtime) config is being edited instead, the intro is hidden and
// this step must render its own action button — otherwise there is no way to
// continue. Keep this in sync with SlackSetupExperience's intro guard.
const providerOwnsActions =
selectedProvider?.id === 'slack' &&
!showManualSlackValues &&
!selectedProvider.runtimeSatisfied;
!selectedProvider.runtimeSatisfied &&
!selectedProvider.savedSatisfied;

if (bootstrapMode && selectedProviderRuntimeConfigured) {
return (
Expand Down
Loading