We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1298a56 + dc7ca8d commit 820ed23Copy full SHA for 820ed23
source/views/sis/course-search/search.js
@@ -131,6 +131,9 @@ class CourseSearchView extends React.Component<Props, State> {
131
132
handleSearchChange = (value: string) => {
133
this.setState(() => ({typedQuery: value}))
134
+ if (value === '') {
135
+ this.setState(() => ({mode: 'browsing', searchQuery: value}))
136
+ }
137
}
138
139
handleSearchFocus = () => {
0 commit comments