fix: fix condition in restartServiceNameExists check (#1450)

This commit is contained in:
Stefan Dej authored and GitHub committed 2023-07-01 11:08:10 +02:00
1 parent 21d3d39503
commit a7e70c75d0
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}