Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Switcheversenken
Switcheversenken Frontend
Commits
9a380fdd
Commit
9a380fdd
authored
Oct 07, 2020
by
satan
Browse files
fix: stuck in ready phase
parent
27d4649e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/App.vue
View file @
9a380fdd
...
...
@@ -80,7 +80,7 @@ export default {
setInterval
(
async
()
=>
{
const
resp
=
await
fetch
(
config
.
BASE_URL
+
"
/api/gamephase
"
);
const
{
phase
:
p
}
=
await
resp
.
json
();
if
(
phase
.
value
===
"
ready
"
)
{
if
(
phase
.
value
===
"
ready
"
&&
p
!==
"
war
"
)
{
return
;
}
phase
.
value
=
p
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment