kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch 'fix-disable-plugins' into 'develop'
Fix disabling plugins See merge request funkwhale/funkwhale!1240environments/review-docs-devel-1399dq/deployments/6607
commit
add226ba44
|
@ -0,0 +1 @@
|
||||||
|
Fixed an issue that prevented disabling plugins
|
|
@ -91,7 +91,7 @@ export default {
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
this.errors = []
|
this.errors = []
|
||||||
let url = `plugins/${this.plugin.name}`
|
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)
|
await axios.post(enableUrl)
|
||||||
try {
|
try {
|
||||||
await axios.post(url, this.values)
|
await axios.post(url, this.values)
|
||||||
|
|
Ładowanie…
Reference in New Issue