feat: Added ability to change the note type of multiple notes at once (#2180)

This commit is contained in:
Aman Harwara
2023-01-25 01:20:43 +05:30
committed by GitHub
parent 0e86a0d171
commit af6ae81e1d
3 changed files with 241 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import { NotesController } from '@/Controllers/NotesController/NotesController'
import { SelectedItemsController } from '@/Controllers/SelectedItemsController'
import { HistoryModalController } from '@/Controllers/NoteHistory/HistoryModalController'
import { LinkingController } from '@/Controllers/LinkingController'
import ChangeMultipleButton from '../ChangeEditor/ChangeMultipleButton'
type Props = {
application: WebApplication
@@ -39,6 +40,9 @@ const MultipleSelectedNotes = ({
<div className="flex w-full items-center justify-between p-4">
<h1 className="m-0 text-lg font-bold">{count} selected notes</h1>
<div className="flex">
<div className="mr-3">
<ChangeMultipleButton application={application} notesController={notesController} />
</div>
<div className="mr-3">
<PinNoteButton notesController={notesController} />
</div>