mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 12:20:21 +01:00
🍕
This commit is contained in:
parent
13451f6843
commit
5defcd6592
1 changed files with 11 additions and 8 deletions
|
@ -46,7 +46,9 @@ export default Vue.extend({
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
gameId(id) {
|
gameId(id) {
|
||||||
console.log(id);
|
if (id == null) {
|
||||||
|
this.game = null;
|
||||||
|
} else {
|
||||||
Progress.start();
|
Progress.start();
|
||||||
(this as any).api('games/reversi/games/show', {
|
(this as any).api('games/reversi/games/show', {
|
||||||
gameId: id
|
gameId: id
|
||||||
|
@ -55,6 +57,7 @@ export default Vue.extend({
|
||||||
Progress.done();
|
Progress.done();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Reference in a new issue