projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factorize some duplicated CSS
[vchess.git]
/
client
/
src
/
views
/
MyGames.vue
diff --git
a/client/src/views/MyGames.vue
b/client/src/views/MyGames.vue
index
52e6dc3
..
b50af21
100644
(file)
--- a/
client/src/views/MyGames.vue
+++ b/
client/src/views/MyGames.vue
@@
-198,6
+198,8
@@
export default {
alert(this.st.tr["An error occurred. Try again!"]);
return;
}
alert(this.st.tr["An error occurred. Try again!"]);
return;
}
+ // NOTE: since a random new ID is generated for imported games,
+ // this error will not occur.
else alert(this.st.tr["The game was already imported"]);
}
this.$router.push("/game/" + game.id);
else alert(this.st.tr["The game was already imported"]);
}
this.$router.push("/game/" + game.id);
@@
-390,7
+392,7
@@
export default {
};
</script>
};
</script>
-<style lang="sass">
+<style lang="sass"
scoped
>
.active
color: #42a983
.active
color: #42a983