Skip to content

Commit

Permalink
important fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vmonakhov committed Dec 17, 2024
1 parent fbc91f5 commit 5d317c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/LexicalEntryCorp/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const TextEntityContent = ({
const selectedText = browserSelection.selectedText;

var selected_action = null;
const selected_markups = [];
const selected_markups = [[]];
const selected_groups = [];

// 'markups' variable has the following format:
Expand Down Expand Up @@ -411,7 +411,7 @@ const TextEntityContent = ({
<Button
className="lingvo-button-markup lingvo-button-markup_delete"
content="M"
title={getTranslation("Delete markup")}
title={getTranslation("Delete markup(s)")}
onClick={onMarkupAction}
disabled={is_being_updated}
/>
Expand All @@ -420,7 +420,7 @@ const TextEntityContent = ({
<Button
className="lingvo-button-markup lingvo-button-markup_delete"
content="G"
title={getTranslation("Delete markup group")}
title={getTranslation("Delete markup(s) with related groups")}
onClick={onMarkupAction}
disabled={is_being_updated}
/>
Expand Down

0 comments on commit 5d317c5

Please sign in to comment.