fix: fix condition in restartServiceNameExists check (#1450)
This commit is contained in:
1 parent
21d3d39503
commit
a7e70c75d0
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user