feat: app install flow followup (#15193)
Co-authored-by: Joe Au-Yeung <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
57 files changed
+1471
-1224
No files matched your search
@@ -6,18 +6,12 @@ export const getAppOnboardingUrl = ({
|
||||
slug,
|
||||
step,
|
||||
teamId,
|
||||
eventTypeIds,
|
||||
}: {
|
||||
slug: string;
|
||||
step: AppOnboardingSteps;
|
||||
teamId?: number;
|
||||
eventTypeIds?: number[];
|
||||
}) => {
|
||||
const params: { [key: string]: string | number | number[] } = { slug };
|
||||
if (!!eventTypeIds && eventTypeIds.length > 0) {
|
||||
params.eventTypeIds = eventTypeIds.join(",");
|
||||
}
|
||||
|
||||
if (!!teamId) {
|
||||
params.teamId = teamId;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user