refactor: simplify widget and integration architecture
This commit is contained in:
1 parent
c988c35b29
commit
8f9efd0074
179 files changed
+1509
-4187
No files matched your search
@@ -1940,12 +1940,9 @@ const getPreviewWidgetKinds = (props: StudioSectionProps) => [
|
||||
]),
|
||||
];
|
||||
|
||||
const getPreviewAppCount = (props: StudioSectionProps) => {
|
||||
return (
|
||||
props.drafts.filter(isIntegrationDraftComplete).length +
|
||||
props.discoveredApps.filter((app) => props.selectedAppIds.includes(app.sourceId)).length
|
||||
);
|
||||
};
|
||||
const getPreviewAppCount = (props: StudioSectionProps) =>
|
||||
props.drafts.filter(isIntegrationDraftComplete).length +
|
||||
props.discoveredApps.filter((app) => props.selectedAppIds.includes(app.sourceId)).length;
|
||||
|
||||
const createDraft = ({
|
||||
id,
|
||||
|
||||
Reference in new issue
Block a user