kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fixed plugins disable switch
rodzic
79219fd695
commit
9014c78238
|
@ -0,0 +1 @@
|
|||
Fixed an issue that prevented disabling plugins
|
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue