File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import ProjectQuickActions from './projectsTable/projectQuickActions';
1515import LimitNotifications from 'js/components/usageLimits/limitNotifications.component' ;
1616import ProjectBulkActions from './projectsTable/projectBulkActions' ;
1717
18- // Stores, hooks, and utils
18+ // Stores, hooks and utilities
1919import { notify } from 'js/utils' ;
2020import { handleApiFail , fetchPostUrl } from 'js/api' ;
2121import customViewStore from './customViewStore' ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import KoboModal from 'js/components/modals/koboModal';
99import KoboModalHeader from 'js/components/modals/koboModalHeader' ;
1010import ProjectsFilterEditor from './projectsFilterEditor' ;
1111
12- // Utils
12+ // Utilities
1313import { removeIncorrectFilters } from './utils' ;
1414
1515// Constants and types
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Button from 'js/components/common/button';
66import TextBox from 'js/components/common/textBox' ;
77import KoboSelect from 'js/components/common/koboSelect' ;
88
9- // Stores and utils
9+ // Stores and utilities
1010import { generateUuid } from 'js/utils' ;
1111import { isFilterConditionValueRequired } from './utils' ;
1212import envStore from 'js/envStore' ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import cx from 'classnames';
88import Icon from 'js/components/common/icon' ;
99import KoboDropdown from 'js/components/common/koboDropdown' ;
1010
11- // Stores and hooks
11+ // Stores
1212import projectViewsStore from './projectViewsStore' ;
1313
1414// Constants
@@ -97,6 +97,8 @@ function ViewSwitcher(props: ViewSwitcherProps) {
9797 { HOME_VIEW . name }
9898 </ button >
9999
100+ { /* This is the list of all options for custom views. These are only
101+ being added if custom views are defined (at least one). */ }
100102 { projectViews . views . map ( ( view ) => (
101103 < button
102104 key = { view . uid }
You can’t perform that action at this time.
0 commit comments