diff --git a/src/components/admin/club/calendar/CalendarLinkModal.vue b/src/components/admin/club/calendar/CalendarLinkModal.vue index 12d43ab..5c16641 100644 --- a/src/components/admin/club/calendar/CalendarLinkModal.vue +++ b/src/components/admin/club/calendar/CalendarLinkModal.vue @@ -72,6 +72,14 @@


+
+ + +

@@ -111,6 +119,7 @@ export default defineComponent({ data() { return { selectedTypes: [] as Array, + provideNSCDR: false as boolean }; }, computed: { @@ -124,7 +133,7 @@ export default defineComponent({ }, generatedLink() { let extend = this.selectedTypes.map((t) => [t.type, t.passphrase].filter((at) => at).join(":")); - return `webcal://${host || window.location.host}/api/public/calendar${extend.length == 0 ? "" : "?types=" + extend.join("&types=")}`; + return `webcal://${host || window.location.host}/api/public/calendar${extend.length == 0 ? "" : "?types=" + extend.join("&types=")}${this.provideNSCDR && extend.length != 0 ? '&nscdr=true':''}`; }, }, mounted() {