File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class GridRowActionSheet extends StatelessWidget {
2424 child: BlocBuilder <RowActionSheetBloc , RowActionSheetState >(
2525 builder: (context, state) {
2626 final cells = _RowAction .values
27+ .where ((value) => value.enable ())
2728 .map (
2829 (action) => _RowActionCell (
2930 action: action,
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class GridSettingList extends StatelessWidget {
8585 }
8686
8787 Widget _renderList () {
88- final cells = GridSettingAction .values.map ((action) {
88+ final cells = GridSettingAction .values.where ((value) => value. enable ()). map ((action) {
8989 return _SettingItem (action: action);
9090 }).toList ();
9191
You can’t perform that action at this time.
0 commit comments