Skip to content

Commit

Permalink
FIX: Data constant icon is not in build (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
JindrichSusen committed Aug 24, 2023
1 parent 727d406 commit f865c32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file added frontend-html/public/icons/menu_parameter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion frontend-html/src/gui/Workbench/MainMenu/IMenuItemIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ export enum IMenuItemIcon {
Workflow = "menu_workflow.png",
Parameter = "menu_parameter.png",
WorkQueue = "./icons/work-queue.svg",
Chat = "./icons/chat.svg"
Chat = "./icons/chat.svg",
DataConstant = "menu_parameter.png"
}
2 changes: 2 additions & 0 deletions frontend-html/src/gui/getIconUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export function getIconUrl(iconName: string | IMenuItemIcon, iconPath?: string)
return "./icons/chat.svg";
case IMenuItemIcon.Folder:
return "./icons/folder-closed.svg";
case IMenuItemIcon.DataConstant:
return "./icons/menu_parameter.png";
default:
if (iconPath) {
return iconPath;
Expand Down

0 comments on commit f865c32

Please sign in to comment.