diff --git a/frontend/src/metadata/store/operations/constants.js b/frontend/src/metadata/store/operations/constants.js index 364e6cbe551..592432663b1 100644 --- a/frontend/src/metadata/store/operations/constants.js +++ b/frontend/src/metadata/store/operations/constants.js @@ -90,6 +90,7 @@ export const LOCAL_APPLY_OPERATION_TYPE = [ OPERATION_TYPE.MODIFY_COLUMN_WIDTH, OPERATION_TYPE.MODIFY_LOCAL_RECORD, OPERATION_TYPE.MODIFY_LOCAL_COLUMN_DATA, + OPERATION_TYPE.DELETE_PEOPLE_PHOTOS, ]; // apply operation after exec operation on the server diff --git a/frontend/src/metadata/views/gallery/context-menu/index.js b/frontend/src/metadata/views/gallery/context-menu/index.js index f2490ba44f3..307d39d8c7c 100644 --- a/frontend/src/metadata/views/gallery/context-menu/index.js +++ b/frontend/src/metadata/views/gallery/context-menu/index.js @@ -37,7 +37,7 @@ const GalleryContextMenu = ({ metadata, selectedImages, onDelete, onDuplicate, a validOptions.push({ value: CONTEXT_MENU_KEY.DUPLICATE, label: gettext('Duplicate') }); } if (canRemovePhotoFromPeople) { - validOptions.push({ value: CONTEXT_MENU_KEY.REMOVE, label: 'Remove from this group' }); + validOptions.push({ value: CONTEXT_MENU_KEY.REMOVE, label: gettext('Remove from this group') }); } return validOptions; }, [checkCanDeleteRow, canDuplicateRow, canRemovePhotoFromPeople, selectedImages]);