mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06: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