mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-11 17:35:33 +00:00
X in search bar clears search text, and the filter on the project list
This commit is contained in:
parent
1322f3e183
commit
9292000f01
1 changed files with 2 additions and 0 deletions
|
@ -95,7 +95,9 @@ define [
|
|||
|
||||
$scope.clearSearchText = () ->
|
||||
$scope.searchText = ""
|
||||
$scope.filter = "all"
|
||||
$scope.$emit "search:clear"
|
||||
$scope.updateVisibleProjects()
|
||||
|
||||
$scope.setFilter = (filter) ->
|
||||
$scope.filter = filter
|
||||
|
|
Loading…
Add table
Reference in a new issue