Skip to content

Commit a35ffcf

Browse files
committed
Remove feedback input from AddColumn modals
Some people write the repo name on it
1 parent 2c3d39b commit a35ffcf

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

packages/components/src/components/columns/ModalColumn.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,19 @@ export const ModalColumn = React.memo((props: ModalColumnProps) => {
131131
>
132132
<View style={sharedStyles.flex}>{children}</View>
133133

134-
<View
135-
style={[
136-
sharedStyles.fullWidth,
137-
sharedStyles.horizontalAndVerticallyAligned,
138-
sharedStyles.paddingHorizontal,
139-
]}
140-
>
141-
<QuickFeedbackRow />
142-
</View>
134+
{!(['ADD_COLUMN', 'ADD_COLUMN_DETAILS'] as Array<
135+
ModalPayload['name']
136+
>).includes(name) && (
137+
<View
138+
style={[
139+
sharedStyles.fullWidth,
140+
sharedStyles.horizontalAndVerticallyAligned,
141+
sharedStyles.paddingHorizontal,
142+
]}
143+
>
144+
<QuickFeedbackRow />
145+
</View>
146+
)}
143147

144148
<Spacer height={FAB.Component ? FAB.size : fabSpacing} />
145149
</FullHeightScrollView>

0 commit comments

Comments
 (0)