<template lang="pug">
div
button(@click="clearHistory()")
- | {{ st.tr["Clear chat"] }}
+ | {{ st.tr["Clear history"] }}
input#inputChat(
type="text"
:placeholder="st.tr['Chat here']"
option(value="chesstempo") {{ st.tr["blue"] }}
fieldset
label(for="setSound")
- | {{ st.tr["Sound on new game?"] }}
+ | {{ st.tr["Sound alert when game starts?"] }}
input#setSound(
type="checkbox"
v-model="st.settings.sound"
"DELETE",
{gid: this.game.id},
() => {
+ // TODO: this.game.pastChats = [] could be enough here?
this.$set(this.game, "pastChats", []);
}
);