Skip to content

Commit

Permalink
Make “open in image editor” option show
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjhanson committed Jan 10, 2024
1 parent 9a979a7 commit 10518c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ protected function safeActionMenuItems(): array
$userSession->checkPermission("editImages:$volume->uid") &&
($userSession->getId() == $this->uploaderId || $userSession->checkPermission("editPeerImages:$volume->uid"))
) {
$editImageId = sprintf('action-edit-image-%s', mt_rand());
$editImageId = sprintf('action-image-edit-%s', mt_rand());
$items[] = [
'type' => MenuItemType::Button,
'id' => $editImageId,
Expand Down

0 comments on commit 10518c2

Please sign in to comment.