diff --git a/src/Api.ts b/src/Api.ts index 2dc2edf..a7dba49 100644 --- a/src/Api.ts +++ b/src/Api.ts @@ -230,6 +230,16 @@ class Api { return this.axios.post('/rss/refreshItem', data).then(Api.handleResponse); } + public moveRssFeed(path: string, newPath: string) { + const params: any = { + itemPath: path, + destPath: newPath, + } + + const data = new URLSearchParams(params) + return this.axios.post('/rss/moveItem', data).then(Api.handleResponse); + } + public getRssRules(): Promise<{[key: string]: RssRule}> { return this.axios.get('/rss/rules').then(Api.handleResponse); } diff --git a/src/components/dialogs/RssDialog.vue b/src/components/dialogs/RssDialog.vue index 7a1ec07..a81af40 100644 --- a/src/components/dialogs/RssDialog.vue +++ b/src/components/dialogs/RssDialog.vue @@ -34,6 +34,14 @@ > mdi-delete + + mdi-file-move +