[Favourite][Reply][Repeat] The respective svg for note actions is assigned. Repeat note handler needs work. "An exception has been thrown during the rendering of a template ("No value in table note matches the requested criteria")." exception thrown on repeat.

This commit is contained in:
2021-09-05 14:34:30 +01:00
committed by Hugo Sales
parent f9f4f179bb
commit f000532b7e
7 changed files with 56 additions and 21 deletions

View File

@@ -60,7 +60,14 @@ class Reply extends NoteHandlerPlugin
['content', HiddenType::class, ['label' => ' ', 'required' => false]],
['attachments', HiddenType::class, ['label' => ' ', 'required' => false]],
['note_id', HiddenType::class, ['data' => $note->getId()]],
['reply', SubmitType::class, ['label' => ' ']],
['reply', SubmitType::class,
[
'label' => ' ',
'attr' => [
'class' => 'note-actions-unset',
],
],
],
]);
// Handle form