Добавить общие события и множественный выбор в календарь

This commit is contained in:
dev
2026-11-24 13:50:38 +03:00
parent d7f4a4b457
commit 9960e2e8bd
8 changed files with 426 additions and 86 deletions
+1
View File
@@ -755,6 +755,7 @@ function normalizeRestoreData(data) {
const calendarEvents = (data.calendar_events || []).map(x => ({
id: reqInt(x.id),
user_id: reqInt(x.user_id),
is_common: x.is_common === true,
title: optText(x.title, 200) || '',
notes: optText(x.notes, 5000) || '',
location: optText(x.location, 200) || '',