Skip to content

Commit

Permalink
perf: Rework search engine (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsluph authored May 31, 2023
1 parent 17aff9e commit 834827f
Show file tree
Hide file tree
Showing 26 changed files with 551 additions and 422 deletions.
4 changes: 2 additions & 2 deletions src/components/Modals/ChangeLocationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export default {
this.newPath = this.torrents[0].savePath
},
methods: {
setLocation() {
qbit.setTorrentLocation(this.hashes, this.newPath)
async setLocation() {
await qbit.setTorrentLocation(this.hashes, this.newPath)
this.close()
},
close() {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Modals/ConfirmDeleteModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export default {
close() {
this.dialog = false
},
deleteTorrent() {
qbit.deleteTorrents(this.selected_torrents, this.settings.deleteWithFiles)
async deleteTorrent() {
await qbit.deleteTorrents(this.selected_torrents, this.settings.deleteWithFiles)
this.close()
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/Modals/Rss/FeedForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ export default defineComponent({
document.removeEventListener('keydown', this.handleKeyboardShortcut)
},
methods: {
create() {
qbit.createFeed(this.feed)
async create() {
await qbit.createFeed(this.feed)
this.cancel()
},
cancel() {
this.$store.commit('FETCH_FEEDS')
this.dialog = false
},
edit() {
qbit.editFeed(this.initialFeed.name, this.feed.name)
async edit() {
await qbit.editFeed(this.initialFeed.name, this.feed.name)
this.$toast.success(this.$t('toast.feedSaved'))
this.cancel()
},
Expand Down
62 changes: 0 additions & 62 deletions src/components/Modals/SearchModal/PluginManager.vue

This file was deleted.

195 changes: 0 additions & 195 deletions src/components/Modals/SearchModal/SearchModal.vue

This file was deleted.

Loading

0 comments on commit 834827f

Please sign in to comment.