Skip to content

Commit

Permalink
Merge pull request #1065 from nataliauvarova/parallel_corpora
Browse files Browse the repository at this point in the history
remove trash comments -part
  • Loading branch information
nataliauvarova authored Nov 15, 2023
2 parents 1360db5 + ce0f30c commit 60b92f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions src/components/LexicalEntryCorp/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import Entities from "./index";
const TextEntityContent = ({
entity,
mode,
parentEntity, /* new!!!!!! */
parentEntity,
publish,
column,
accept,
remove,
breakdown, /* new!!!!!!! */
breakdown,
is_being_removed,
is_being_updated,
checkEntries,
Expand All @@ -28,7 +28,7 @@ const TextEntityContent = ({
checkedAll,
resetCheckedAll,
number,
update, /* new!!!!!! */
update,
/*draggable*/ /* new!!!!!! */
id /* new!!!!!! */
}) => {
Expand Down Expand Up @@ -257,14 +257,14 @@ const Text = onlyUpdateForKeys([
entity,
mode,
entitiesMode,
parentEntity, /* new!!!! */
parentEntity,
as: Component,
className,
publish,
accept,
remove,
update,
breakdown, /* new!!!!!!! */
breakdown,
is_being_removed,
is_being_updated,
number,
Expand All @@ -287,13 +287,13 @@ const Text = onlyUpdateForKeys([
checkedAll={checkedAll}
resetCheckedAll={resetCheckedAll}
mode={mode}
parentEntity={parentEntity} /* new!!!!! */
parentEntity={parentEntity}
publish={publish}
column={column}
accept={accept}
remove={remove}
update={update}
breakdown={breakdown} /* new!!!!!!! */
breakdown={breakdown}
is_being_removed={is_being_removed}
is_being_updated={is_being_updated}
number={number}
Expand All @@ -311,13 +311,13 @@ const Text = onlyUpdateForKeys([
checkedAll={checkedAll}
resetCheckedAll={resetCheckedAll}
mode={mode}
parentEntity={parentEntity} /* new!!!!! */
parentEntity={parentEntity}
publish={publish}
column={column}
accept={accept}
remove={remove}
update={update}
breakdown={breakdown} /* new!!!!!!! */
breakdown={breakdown}
is_being_removed={is_being_removed}
is_being_updated={is_being_updated}
number={number}
Expand Down Expand Up @@ -354,15 +354,15 @@ Text.propTypes = {
entry: PropTypes.object.isRequired,
entity: PropTypes.object.isRequired,
mode: PropTypes.string.isRequired,
parentEntity: PropTypes.object, /* new!!!!!! */
parentEntity: PropTypes.object,
entitiesMode: PropTypes.string.isRequired,
as: PropTypes.string,
className: PropTypes.string,
publish: PropTypes.func,
accept: PropTypes.func,
remove: PropTypes.func,
update: PropTypes.func,
breakdown: PropTypes.func, /* new!!!!! */
breakdown: PropTypes.func,
resetCheckedRow: PropTypes.func,
resetCheckedColumn: PropTypes.func,
resetCheckedAll: PropTypes.func,
Expand Down
6 changes: 3 additions & 3 deletions src/components/LexicalEntryCorp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ const Entities = ({
remove={remove}
accept={accept}
update={update}
breakdown={breakdown} /* new!!!!!!! */
breakdown={breakdown}
className={mode != "edit" && entities.indexOf(entity) == entities.length - 1 ? "last" : ""}
disabled={disabled}
is_being_removed={remove_set.hasOwnProperty(id2str(entity.id))}
Expand Down Expand Up @@ -544,8 +544,8 @@ const Entities = ({
is_being_created={is_being_created}
onSave={content => create(content, parentEntity == null ? null : parentEntity.id)}
onCancel={() => setEdit(false)}
parentEntity={parentEntity} /* new!!!!!!! */
breakdown={breakdown} /* new!!!!!!! */
parentEntity={parentEntity}
breakdown={breakdown}
/>
)}
</li>
Expand Down

0 comments on commit 60b92f4

Please sign in to comment.