style: format onboarding setup studio
This commit is contained in:
1 parent
f1ce0fffad
commit
30cb066b7f
1 file changed
+1
-3
@@ -434,9 +434,7 @@ export const SetupStudio = ({ environment, assistantConfiguration }: OnboardingS
|
||||
}
|
||||
const draftsToApply = drafts.filter(isIntegrationDraftComplete);
|
||||
const appsToCreate = discoveredApps.filter((app) => selectedAppIds.includes(app.sourceId));
|
||||
const appWithoutAddress = appsToCreate.find(
|
||||
(app) => (discoveredAppUrls[app.sourceId] ?? "").trim().length === 0,
|
||||
);
|
||||
const appWithoutAddress = appsToCreate.find((app) => (discoveredAppUrls[app.sourceId] ?? "").trim().length === 0);
|
||||
if (appWithoutAddress) {
|
||||
const message = t("connect.appAddressRequired", { name: appWithoutAddress.containerName });
|
||||
setAppError(message);
|
||||
|
||||
Reference in new issue
Block a user