Skip to content

Commit

Permalink
Frontend Ui Component Fixes c.d.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarosław Zieliński committed Aug 20, 2024
1 parent 4d0ab71 commit 1706afd
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 1706afd

Please sign in to comment.