From a7e70c75d0009ffed14e8717ad8286f91e4e7e8a Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 1 Jul 2023 11:08:10 +0200 Subject: [PATCH] fix: fix condition in restartServiceNameExists check (#1450) --- src/components/TheEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }