Skip to content

Commit addb807

Browse files
committed
6600: Fixed screen layout title when loading new screen layout
1 parent 6587cb1 commit addb807

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Service/ScreenLayoutService.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ public function install(ScreenLayoutData $screenLayoutData, bool $update = false
7272

7373
$ulid = Ulid::fromString($screenLayoutData->id);
7474
$screenLayout->setId($ulid);
75+
$screenLayout->setTitle($screenLayoutData->title);
7576

7677
$this->entityManager->persist($screenLayout);
77-
}
78-
79-
if ($update) {
78+
} elseif ($update) {
8079
$screenLayout->setTitle($screenLayoutData->title);
8180
}
8281

0 commit comments

Comments
 (0)