mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
wrong condition
This commit is contained in:
@@ -81,7 +81,7 @@ export const actions = actionTree(
|
||||
},
|
||||
|
||||
request({ getters }) {
|
||||
if (!accessor.connected || !getters.hosting) {
|
||||
if (!accessor.connected || getters.hosting) {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ export const actions = actionTree(
|
||||
},
|
||||
|
||||
release({ getters }) {
|
||||
if (!accessor.connected || getters.hosting) {
|
||||
if (!accessor.connected || !getters.hosting) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user