Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit bb559a1

Browse files
fix: trim name when publishing (as presentation's name is use a room name for the remote control)
1 parent f8ec572 commit bb559a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

studio/src/app/services/editor/publish/publish.service.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class PublishService {
142142
const apiSlides: ApiSlide[] = await this.convertSlides(deck);
143143

144144
const apiDeck: ApiDeck = {
145-
name: deck.data.name,
145+
name: deck.data.name ? deck.data.name.trim() : deck.data.name,
146146
description: description !== undefined && description !== '' ? description : deck.data.name,
147147
owner_id: deck.data.owner_id,
148148
attributes: deck.data.attributes,

0 commit comments

Comments
 (0)