diff --git a/changes/changelog.d/plugins.bugfix b/changes/changelog.d/plugins.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..896a8293566b45473fe1908555178f3fee2fdb53 --- /dev/null +++ b/changes/changelog.d/plugins.bugfix @@ -0,0 +1 @@ +Fixed an issue that prevented disabling plugins \ No newline at end of file diff --git a/front/src/components/auth/Plugin.vue b/front/src/components/auth/Plugin.vue index ea5394b6653f5b47f139f7731f21607eb37f998c..7c679062c691bdb9ab1f61772d34a6c962cff22f 100644 --- a/front/src/components/auth/Plugin.vue +++ b/front/src/components/auth/Plugin.vue @@ -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)