This commit is contained in:
2026-10-12 14:51:15 +07:00
parent 3a2e574e97
commit 8f54434757
+6
View File
@@ -268,6 +268,11 @@ function playApplicationNotification() {
}
}
async function testNotificationSound() {
await enableNotificationSound()
playApplicationNotification()
}
onMounted(() => {
window.addEventListener('click', enableNotificationSound)
window.addEventListener('keydown', enableNotificationSound)
@@ -1281,6 +1286,7 @@ useSimplePolling(() => {
</n-tag>
</n-space>
<n-flex justify="end">
<n-button @click="testNotificationSound">Проверить звук</n-button>
<n-button
type="info"
v-if="game.status != 'draft'"