Merge branch 'fix-disable-plugins' into 'develop'

Fix disabling plugins

See merge request funkwhale/funkwhale!1240
environments/review-docs-devel-1399dq/deployments/6607
Ciarán Ainsworth 2020-11-21 00:57:03 +01:00
commit add226ba44
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1 @@
Fixed an issue that prevented disabling plugins

Wyświetl plik

@ -91,7 +91,7 @@ export default {
this.isLoading = true
this.errors = []
let url = `plugins/${this.plugin.name}`
let enableUrl = this.enabled ? `${url}/enable` : `${url}/enable`
let enableUrl = this.enabled ? `${url}/enable` : `${url}/disable`
await axios.post(enableUrl)
try {
await axios.post(url, this.values)