diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-11-21 20:24:24 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-11-21 20:24:24 +0000 |
| commit | da94c94fbe95a183476fd2b71efc45c95e945b9c (patch) | |
| tree | 984024834844471ac8742b87b7369a3942afcdac /src/components/search/search.js | |
| parent | cf294f2d1825cc34e5e632c1a00095a81cad06f9 (diff) | |
| parent | 3c0e7882b10989424c3ec98413b555373efa1719 (diff) | |
Merge branch 'lint' into 'develop'
lint
See merge request pleroma/pleroma-fe!1686
Diffstat (limited to 'src/components/search/search.js')
| -rw-r--r-- | src/components/search/search.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/search/search.js b/src/components/search/search.js index 8d4212cd..877d6f30 100644 --- a/src/components/search/search.js +++ b/src/components/search/search.js @@ -83,11 +83,11 @@ const Search = { this.lastStatusFetchCount = 0 } - this.$store.dispatch('search', { q: query, resolve: true, offset: this.statusesOffset, 'type': searchType }) + this.$store.dispatch('search', { q: query, resolve: true, offset: this.statusesOffset, type: searchType }) .then(data => { this.loading = false - let oldLength = this.statuses.length + const oldLength = this.statuses.length // Always append to old results. If new results are empty, this doesn't change anything this.userIds = this.userIds.concat(map(data.accounts, 'id')) |
