Fix repository search (#15428)
Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
27f9bda769
commit
bf3e584de2
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
||||||
</h4>
|
</h4>
|
||||||
<div class="ui attached segment repos-search">
|
<div class="ui attached segment repos-search">
|
||||||
<div class="ui fluid right action left icon input" :class="{loading: isLoading}">
|
<div class="ui fluid right action left icon input" :class="{loading: isLoading}">
|
||||||
<input @input="searchRepos(reposFilter)" v-model="searchQuery" ref="search" placeholder="{{.i18n.Tr "home.search_repos"}}">
|
<input @input="changeReposFilter(reposFilter)" v-model="searchQuery" ref="search" placeholder="{{.i18n.Tr "home.search_repos"}}">
|
||||||
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i>
|
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i>
|
||||||
<div class="ui dropdown icon button" title="{{.i18n.Tr "home.filter"}}">
|
<div class="ui dropdown icon button" title="{{.i18n.Tr "home.filter"}}">
|
||||||
<i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>
|
<i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>
|
||||||
|
|
|
@ -3157,7 +3157,7 @@ function initVueComponents() {
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.searchRepos(this.reposFilter);
|
this.changeReposFilter(this.reposFilter);
|
||||||
$(this.$el).find('.poping.up').popup();
|
$(this.$el).find('.poping.up').popup();
|
||||||
$(this.$el).find('.dropdown').dropdown();
|
$(this.$el).find('.dropdown').dropdown();
|
||||||
this.setCheckboxes();
|
this.setCheckboxes();
|
||||||
|
|
Loading…
Reference in a new issue