Fix notifications settings not working

Closes #1251

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-01-27 15:05:39 +01:00
parent 1a03c49fa4
commit 31fd99bd37
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -53,7 +53,7 @@
) )
}} }}
</p> </p>
<table class="table"> <table class="table table-auto">
<tbody> <tbody>
<template <template
v-for="notificationType in notificationTypes" v-for="notificationType in notificationTypes"
@ -74,7 +74,7 @@
<td v-for="(method, key) in notificationMethods" :key="key"> <td v-for="(method, key) in notificationMethods" :key="key">
<o-checkbox <o-checkbox
:value="notificationValues[subType.id][key].enabled" :value="notificationValues[subType.id][key].enabled"
@input=" @update:modelValue="
(e: boolean) => (e: boolean) =>
updateNotificationValue({ updateNotificationValue({
key: subType.id, key: subType.id,