diff --git a/src/components/TheEditor.vue b/src/components/TheEditor.vue index 75420cad..e6ec42b3 100644 --- a/src/components/TheEditor.vue +++ b/src/components/TheEditor.vue @@ -251,7 +251,7 @@ export default class TheEditor extends Mixins(BaseMixin) { } get restartServiceNameExists() { - if (this.restartServiceName) return true + if (!this.restartServiceName) return true return this.availableServices.includes(this.restartServiceName) }