+
+ {/* TODO: move one-on-one logic to its own component */}
+ {selectedTemplate.id === 'oneOnOneAction' ? (
+
+
Teammate
+
+
+ {showOrgPicker && (
+ <>
+
Organization
+
+ >
+ )}
+
+ ) : (
+
+ )}
- {showOrgPicker && (
+ {selectedTeam.tier === 'starter' &&
+ !viewer.featureFlags.noTemplateLimit &&
+ !selectedTemplate.isFree ? (
+
+
+ Upgrade to the Team Plan to create custom activities unlocking your
+ team’s ideal workflow.
+
+
+ Upgrade to Team Plan
+
+
+ ) : (
<>
-
Organization
-
+ {type === 'retrospective' && (
+ <>
+
+
+
+ >
+ )}
+ {type === 'poker' && (
+
+ )}
+ {type === 'action' && (
+
+ )}
+ {type === 'teamPrompt' && (
+
+ )}
>
)}
- ) : (
-
+
+ {oneOnOneTeamInput && (
+
)}
-
- {selectedTeam.tier === 'starter' &&
- !viewer.featureFlags.noTemplateLimit &&
- !selectedTemplate.isFree ? (
-
-
- Upgrade to the Team Plan to create custom activities unlocking your team’s
- ideal workflow.
-
-
- Upgrade to Team Plan
-
-
- ) : (
+ {error &&
{error.message}}
+ {selectedTemplate.id !== 'oneOnOneAction' && (
<>
- {type === 'retrospective' && (
- <>
-
-
-
- >
- )}
- {type === 'poker' && (
-
- )}
- {type === 'action' && (
-
- )}
- {type === 'teamPrompt' && (
-
- )}
-
- {oneOnOneTeamInput && (
-
- )}
- {error &&
{error.message}}
- {selectedTemplate.id !== 'oneOnOneAction' && (
- <>
-
- {/* TODO: scheduling meeting does not work with one-on-one https://github.com/ParabolInc/parabol/issues/8820 */}
-
- >
- )}
-
handleStartActivity()}
- waiting={submitting}
- className='h-14'
- >
- Start Activity
-
-
+
+ {/* TODO: scheduling meeting does not work with one-on-one https://github.com/ParabolInc/parabol/issues/8820 */}
+
>
)}
+
handleStartActivity()}
+ waiting={submitting}
+ className='h-14'
+ >
+ Start Activity
+