mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
wrong condition
This commit is contained in:
parent
78a1744da4
commit
78d2d706af
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user