Skip to content

Commit

Permalink
Merge pull request #103 from JaroslawZielinski/feature/frontent-ui-co…
Browse files Browse the repository at this point in the history
…mponent-fixes

Frontend Ui Component Fixes c.d.
  • Loading branch information
JaroslawZielinski authored Aug 20, 2024
2 parents 4d0ab71 + 1706afd commit 418de22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/Adminhtml/Siglum/Structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function execute()
$resultArray[$itemId] = $verseStart;
}, $sigla);
if (!$isVerseStart) {
$resultArray['item_.'] = '.';
array_shift($resultArray);
$resultArray = ['item_.' => '.'] + $resultArray;
}
$result = $this->serializer->serialize($resultArray);
$data['status'] = 'ok';
Expand Down
2 changes: 1 addition & 1 deletion Controller/Siglum/Structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public function execute()
$resultArray[$itemId] = $verseStart;
}, $sigla);
if (!$isVerseStart) {
$resultArray['item_.'] = '.';
array_shift($resultArray);
$resultArray = ['item_.' => '.'] + $resultArray;
}
$result = $this->serializer->serialize($resultArray);
$data['status'] = 'ok';
Expand Down

0 comments on commit 418de22

Please sign in to comment.