Merge branch 'develop' into mkjs-n

This commit is contained in:
tamaina
2023-05-04 12:33:48 +00:00
3 changed files with 8 additions and 0 deletions

View File

@@ -74,6 +74,12 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile) {
icon: 'ti ti-text-caption',
action: () => describe(file),
}, null, {
text: i18n.ts.createNoteFromTheFile,
icon: 'ti ti-pencil',
action: () => os.post({
initialFiles: [file],
}),
}, {
text: i18n.ts.copyUrl,
icon: 'ti ti-link',
action: () => copyUrl(file),