Skip to content

Commit

Permalink
Allow "unconfirmed" items to be tagged
Browse files Browse the repository at this point in the history
Actually, just prevent tagging for items that are in the trash, instead of any archived state.

Fixes CV2-3870.
  • Loading branch information
caiosba authored Oct 25, 2023
1 parent 735f35f commit 2351859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/media/MediaTags.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const MediaTagsComponent = ({ projectMedia, setFlashMessage }) => {
!can(projectMedia.permissions, 'update ProjectMedia') ||
projectMedia.is_secondary ||
projectMedia.suggested_main_item?.dbid ||
projectMedia.archived > CheckArchivedFlags.NONE;
projectMedia.archived === CheckArchivedFlags.TRASHED;

const onFailure = (transaction) => {
const message = getErrorMessage(transaction, <GenericUnknownErrorMessage />);
Expand Down

0 comments on commit 2351859

Please sign in to comment.