1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00
discourse_ynh/sources/patches/main-6-fix-download-calendar.patch

26 lines
986 B
Diff
Raw Normal View History

2024-08-30 11:55:29 +02:00
From c4f4fb51b0b12c520bf78870842c4c0034296323 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= <felix.piedallu@semtech.com>
Date: Fri, 30 Aug 2024 11:53:46 +0200
Subject: [PATCH] Fix download-calendar.js
2024-07-26 14:21:38 +02:00
---
app/assets/javascripts/discourse/app/lib/download-calendar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2022-07-27 04:15:08 +02:00
diff --git a/app/assets/javascripts/discourse/app/lib/download-calendar.js b/app/assets/javascripts/discourse/app/lib/download-calendar.js
2024-08-30 11:55:29 +02:00
index 3fd2951a..b71e4e09 100644
2022-07-27 04:15:08 +02:00
--- a/app/assets/javascripts/discourse/app/lib/download-calendar.js
+++ b/app/assets/javascripts/discourse/app/lib/download-calendar.js
2024-08-30 11:55:29 +02:00
@@ -23,7 +23,7 @@ export function downloadCalendar(title, dates, options = {}) {
2022-07-27 04:15:08 +02:00
}
2024-08-30 11:55:29 +02:00
export function downloadIcs(title, dates, options = {}) {
2022-07-27 04:15:08 +02:00
- const REMOVE_FILE_AFTER = 20_000;
+ const REMOVE_FILE_AFTER = 20000;
2024-08-30 11:55:29 +02:00
const file = new File([generateIcsData(title, dates, options)], {
2022-07-27 04:15:08 +02:00
type: "text/plain",
});
2024-07-26 14:21:38 +02:00
--
2024-08-30 11:55:29 +02:00
2.43.0
2024-07-26 14:21:38 +02:00