diff --git a/todoblue/src/app/[lang]/board/[board]/(page)/useBoardMetadataEditor.ts b/todoblue/src/app/[lang]/board/[board]/(page)/useBoardMetadataEditor.ts index 861080f..a9d33df 100644 --- a/todoblue/src/app/[lang]/board/[board]/(page)/useBoardMetadataEditor.ts +++ b/todoblue/src/app/[lang]/board/[board]/(page)/useBoardMetadataEditor.ts @@ -17,11 +17,9 @@ export function useBoardMetadataEditor() { const stopEditingMetadata = useCallback(() => { console.debug("[useEditableTitle] Ending title edit..."); setEditingMetadata(false); - if(titleFromEditor.length > 0) { - console.debug("[useEditableTitle] Sending title change request..."); - const request: TitleBoardRequest = {"Title": titleFromEditor} - sendRequest(request) - } + console.debug("[useEditableTitle] Sending title change request..."); + const request: TitleBoardRequest = {"Title": titleFromEditor} + sendRequest(request) }, [sendRequest, titleFromEditor]) const toggleEditingMetadata = useCallback(() => {