chore(core): at menu journal entry tracking (#9054)

fix AF-1844
This commit is contained in:
pengx17
2024-12-12 02:25:01 +00:00
parent 30d6793978
commit fea4777ef2
2 changed files with 10 additions and 1 deletions

View File

@@ -294,6 +294,10 @@ export class AtMenuConfigService extends Service {
onSelect: date => {
if (date) {
onSelectDate(date);
track.doc.editor.atMenu.linkDoc({
journal: true,
type: 'specific date',
});
this.dialogService.close(id);
}
},
@@ -328,6 +332,10 @@ export class AtMenuConfigService extends Service {
>`
: dateDisplay,
action: () => {
track.doc.editor.atMenu.linkDoc({
journal: true,
type: alias,
});
onSelectDate(dateString);
},
});