From 87df330c4c3956d2239016d237fdc1bca37f41c9 Mon Sep 17 00:00:00 2001 From: uphy Date: Fri, 2 Dec 2022 16:11:19 +0900 Subject: [PATCH] Reminder DnD - change format --- src/ui/reminder-list.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/reminder-list.ts b/src/ui/reminder-list.ts index beaa074..ac05ccb 100644 --- a/src/ui/reminder-list.ts +++ b/src/ui/reminder-list.ts @@ -1,6 +1,6 @@ import type { ReadOnlyReference } from "model/ref"; import type { Time } from "model/time"; -import { ItemView, View, Workspace, WorkspaceLeaf } from "obsidian"; +import { ItemView, TFile, View, Workspace, WorkspaceLeaf } from "obsidian"; import { VIEW_TYPE_REMINDER_LIST } from "../constants"; import { groupReminders, Reminder, Reminders } from "../model/reminder"; import ReminderListView from "./components/ReminderList.svelte"; @@ -46,7 +46,7 @@ class ReminderListItemView extends ItemView { } else { linkMd = this.app.fileManager.generateMarkdownLink(aFile, destinationFile.path); } - return `${linkMd} - ${reminder.title}`; + return `${reminder.title} - ${linkMd}`; }, }, });