File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export class BatchReminderDialog {
183183 const block = await getBlockByID ( blockId ) ;
184184
185185 if ( block ) {
186- const autoDetected = this . autoDetectDateTimeFromTitle ( block . fcontent ) ;
186+ const autoDetected = this . autoDetectDateTimeFromTitle ( block ? .fcontent || block ?. content ) ;
187187 results . push ( {
188188 blockId,
189189 content : block . content ,
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ export class ReminderDialog {
437437 showMessage ( t ( "blockNotExist" ) ) ;
438438 return ;
439439 }
440- this . blockContent = block ?. fcontent || t ( "unnamedNote" ) ;
440+ this . blockContent = block ?. fcontent || block ?. content || t ( "unnamedNote" ) ;
441441 // 获取文档ID - 如果blockId就是文档ID,则直接使用,否则获取根块ID
442442 this . documentId = block . root_id || this . blockId ;
443443 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments