Skip to content

Commit

Permalink
only allow export member order for work objects
Browse files Browse the repository at this point in the history
  • Loading branch information
krwong committed Jan 2, 2024
1 parent 2aaa757 commit 4c4a27a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/js/admin/src/ResultObjectActionMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ define('ResultObjectActionMenu', [ 'jquery', 'jquery-ui', 'StringUtilities', 'A
items['export']['items']["exportCSV"] = {name: "Export CSV"};
}

items['export']['items']["exportMemberOrder"] = {name: "Export Member Order"};
if (metadata.type === 'Work') {
items['export']['items']["exportMemberOrder"] = {name: "Export Member Order"};
}
}

items["copyid"] = {name : 'Copy PID to Clipboard'};
Expand Down

0 comments on commit 4c4a27a

Please sign in to comment.