Skip to content

Commit

Permalink
use counter type instead of the value
Browse files Browse the repository at this point in the history
  • Loading branch information
jscastanos committed Jan 13, 2025
1 parent 6e8189a commit d52c221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export default class EditorjsList {
}

orderedListCountersTunes.children.items!.push({
title: this.api.i18n.t(counterTypeValue),
title: this.api.i18n.t(counterType),
icon: OlCounterIconsMap.get(counterTypeValue),
isActive: (this.data.meta as OrderedListItemMeta).counterType === OlCounterTypesMap.get(counterType),
closeOnActivate: true,
Expand Down

0 comments on commit d52c221

Please sign in to comment.