mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-21 13:58:44 +00:00
update
This commit is contained in:
parent
4bdb208dce
commit
99a1ac476d
|
|
@ -66,7 +66,7 @@ trait EditorDocListTrait
|
|||
public function getEditorDocByTypeName(string $type) : EditorDoc
|
||||
{
|
||||
foreach ($this->notes as $note) {
|
||||
if ($note->type?->name === $type) {
|
||||
if ($note->type?->title === $type) {
|
||||
return $note;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user