generated from VLADIMIR/template_frontend
up
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user