Skip to content

Commit

Permalink
remove unnecessary function call
Browse files Browse the repository at this point in the history
  • Loading branch information
hofstef committed Dec 4, 2024
1 parent 40dbb97 commit 86fb2c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,8 @@ export class IconSetConfigurationComponent implements OnInit {
if (e.target) {
const src: string = e.target.result as unknown as string;
this.iconDictionaryService.addIMGToIconDictionary(src, iconName);
// TODO: td: What kind of type is it here?
this.iconDictionaryService.registerIconForBPMN(
iconName,
ICON_PREFIX + iconName.toLowerCase(),
ElementTypes.ACTOR,
);

this.allIcons.next(this.iconDictionaryService.getFullDictionary());
this.filter.next(this.filter.value);

this.iconSetCustomizationService.addNewIcon(iconName);
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class IconDictionaryService {
}

/** Add Icon(s) to Dictionary **/
registerIconForBPMN(
private registerIconForBPMN(
name: string,
src: string,
elementType: ElementTypes,
Expand Down

0 comments on commit 86fb2c9

Please sign in to comment.