7658-devToTest_2428 #508

Merged
alexm merged 392 commits from 7658-devToTest_2428 into test 2024-07-02 10:38:20 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 09545cb2c0 - Show all commits

View File

@ -20,8 +20,8 @@ const { t } = useI18n();
const quasar = useQuasar(); const quasar = useQuasar();
const entityId = computed(() => $props.id || route.params.id); const entityId = computed(() => $props.id || route.params.id);
const URL_KEY = 'NotificationSubscriptions'; const URL_KEY = 'NotificationSubscriptions';
const active = ref(); const active = ref(new Map());
const available = ref(); const available = ref(new Map());
async function toggleNotification(notification) { async function toggleNotification(notification) {
try { try {
@ -56,6 +56,7 @@ const swapEntry = (from, to, key) => {
}; };
function setNotifications(data) { function setNotifications(data) {
console.log('data: ', data);
active.value = new Map(data.active); active.value = new Map(data.active);
available.value = new Map(data.available); available.value = new Map(data.available);
} }