File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2284,12 +2284,13 @@ export class CalendarView {
22842284 }
22852285 }
22862286
2287- // 创建快速提醒对话框,传递默认项目ID
2287+ // 创建快速提醒对话框,传递默认项目ID和默认分类ID
22882288 const quickDialog = new QuickReminderDialog ( clickedDate , clickedTime , async ( ) => {
22892289 // 刷新日历事件
22902290 await this . refreshEvents ( ) ;
22912291 } , undefined , {
22922292 defaultProjectId : this . currentProjectFilter !== 'all' && this . currentProjectFilter !== 'none' ? this . currentProjectFilter : undefined ,
2293+ defaultCategoryId : this . currentCategoryFilter !== 'all' && this . currentCategoryFilter !== 'none' ? this . currentCategoryFilter : undefined ,
22932294 plugin : this . plugin // 传入plugin实例
22942295 } ) ;
22952296
@@ -2403,6 +2404,7 @@ export class CalendarView {
24032404 } ,
24042405 {
24052406 defaultProjectId : this . currentProjectFilter !== 'all' && this . currentProjectFilter !== 'none' ? this . currentProjectFilter : undefined ,
2407+ defaultCategoryId : this . currentCategoryFilter !== 'all' && this . currentCategoryFilter !== 'none' ? this . currentCategoryFilter : undefined ,
24062408 plugin : this . plugin // 传入plugin实例
24072409 }
24082410 ) ;
You can’t perform that action at this time.
0 commit comments