Skip to content

Commit 8f30b75

Browse files
committed
6600: Fixed template title when loading new template
1 parent aa6e498 commit 8f30b75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Service/TemplateService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ public function install(TemplateData $templateData, bool $update = false): void
6969

7070
$ulid = Ulid::fromString($templateData->id);
7171
$template->setId($ulid);
72+
$template->setTitle($templateData->title);
7273

7374
$this->entityManager->persist($template);
7475
}
75-
76-
if ($update) {
76+
else if ($update) {
7777
$template->setTitle($templateData->title);
7878
}
7979

0 commit comments

Comments
 (0)