Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: enable create card from no status column

appflowya204af978397
diff --git a/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart b/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart
index 3a34469cd7..2a1762c3ed 100644
--- a/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart
+++ b/frontend/app_flowy/lib/plugins/board/presentation/board_page.dart
@@ -187,35 +187,31 @@ class _BoardContentState extends State<BoardContent> {
}
Widget _buildFooter(BuildContext context, AppFlowyGroupData columnData) {
- final boardCustomData = columnData.customData as BoardCustomData;
- final group = boardCustomData.group;
-
- if (group.isDefault) {
- return const SizedBox();
- } else {
- return AppFlowyGroupFooter(
- icon: SizedBox(
- height: 20,
- width: 20,
- child: svgWidget(
- "home/add",
- color: context.read<AppTheme>().iconColor,
- ),
- ),
- title: FlowyText.medium(
- LocaleKeys.board_column_create_new_card.tr(),
- fontSize: 14,
- color: context.read<AppTheme>().textColor,
+ // final boardCustomData = columnData.customData as BoardCustomData;
+ // final group = boardCustomData.group;
+
+ return AppFlowyGroupFooter(
+ icon: SizedBox(
+ height: 20,
+ width: 20,
+ child: svgWidget(
+ "home/add",
+ color: context.read<AppTheme>().iconColor,
),
- height: 50,
- margin: config.footerPadding,
- onAddButtonClick: () {
- context.read<BoardBloc>().add(
- BoardEvent.createBottomRow(columnData.id),
- );
- },
- );
- }
+ ),
+ title: FlowyText.medium(
+ LocaleKeys.board_column_create_new_card.tr(),
+ fontSize: 14,
+ color: context.read<AppTheme>().textColor,
+ ),
+ height: 50,
+ margin: config.footerPadding,
+ onAddButtonClick: () {
+ context.read<BoardBloc>().add(
+ BoardEvent.createBottomRow(columnData.id),
+ );
+ },
+ );
}
Widget _buildCard(