Fixed "Load more" functionality on search page
The previous implementation caused the "Load more" button not to load additional search results when changes were made to the input field
This commit is contained in:
parent
b2d30e5c34
commit
76b44d3a39
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@
|
|||
<button
|
||||
v-if="!loading['statuses'] && loadedInitially && lastStatusFetchCount > 0"
|
||||
class="more-statuses-button button-unstyled -link -fullwidth"
|
||||
@click.prevent="search(searchTerm, 'statuses')"
|
||||
@click.prevent="search(lastQuery, 'statuses')"
|
||||
>
|
||||
<div class="new-status-notification text-center">
|
||||
{{ $t('search.load_more') }}
|
||||
|
@ -114,7 +114,7 @@
|
|||
<button
|
||||
v-if="!loading['media'] && loadedInitially && lastMediaFetchCount > 0"
|
||||
class="more-statuses-button button-unstyled -link -fullwidth"
|
||||
@click.prevent="search(searchTerm, 'media')"
|
||||
@click.prevent="search(lastQuery, 'media')"
|
||||
>
|
||||
<div class="new-status-notification text-center">
|
||||
{{ $t('search.load_more') }}
|
||||
|
|
Loading…
Reference in a new issue