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