Skip to content

Commit

Permalink
If trying to edit an item that is not mine, return soon
Browse files Browse the repository at this point in the history
  • Loading branch information
ktecho committed Nov 22, 2022
1 parent 821b827 commit 1b70108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/admin/js/plebeian-market-admin-screen-items.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function rebindIconClicks() {

if (item_info_from_api.is_mine === false) {
// showAlertModal("You don't have permission to modify this item because it's not yours.");
// return;
return;
}

$('#titleModalItemInfo').text(pmtype === 'buynow' ? 'Modify BuyNow product' : 'Modify Auction');
Expand Down

0 comments on commit 1b70108

Please sign in to comment.