From f42b067f2fc6393a715fb9a3e99879ec10b15e47 Mon Sep 17 00:00:00 2001 From: Thomas Hackl Date: Fri, 8 Aug 2025 11:24:33 +0200 Subject: Resolve "Objektblock Galerie kann nicht mit Layout "Gitter" angelegt/gespeichert werden." Merge request studip/studip!4422 --- resources/vue/components/courseware/CoursewareGalleryBlock.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/vue/components/courseware/CoursewareGalleryBlock.vue b/resources/vue/components/courseware/CoursewareGalleryBlock.vue index 102cccd..554a6a4 100644 --- a/resources/vue/components/courseware/CoursewareGalleryBlock.vue +++ b/resources/vue/components/courseware/CoursewareGalleryBlock.vue @@ -326,10 +326,10 @@ export default { attributes.payload.folder_id = this.currentFolderId; attributes.payload.layout = this.currentLayout; attributes.payload.autoplay = this.currentAutoplay; - attributes.payload.autoplay_timer = this.currentAutoplayTimer; + attributes.payload.autoplay_timer = this.currentAutoplayTimer.toString(); attributes.payload.nav = this.currentNav; - attributes.payload.height = this.currentHeight; - attributes.payload.cols = this.currentCols; + attributes.payload.height = this.currentHeight.toString(); + attributes.payload.cols = this.currentCols.toString(); attributes.payload.show_filenames = this.currentShowFileNames; attributes.payload.show_description = this.currentShowFileDescription; attributes.payload.mouseover_filenames = this.currentMouseoverFileNames; -- cgit v1.0