Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,9 @@ const JSFile = importSvg(
const JSFunction = importSvg(
async () => import("../__assets__/icons/menu/js-function.svg"),
);
const JSFunctionV2 = importSvg(
async () => import("../__assets__/icons/menu/js-function-v2.svg"),
);
const QueryMain = importSvg(
async () => import("../__assets__/icons/menu/query-main.svg"),
);
Expand Down Expand Up @@ -1285,6 +1288,7 @@ const ICON_LOOKUP = {
"js-icon-v2": JSIconV2,
"js-file": JSFile,
"js-function": JSFunction,
"js-function-v2": JSFunctionV2,
"datasources-2": Datasources2,
"arrow-left-line": ArrowLeftLineIcon,
"arrow-right-line": ArrowRightLineIcon,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ export function getJSOptions(
id: js.id,
value: jsAction.config.name + "." + js.name,
type: jsOption.value,
icon: <Icon name="js-function" size="md" />,
icon: <Icon name="js-function-v2" size="md" />,
args: argValue,
};

Expand Down Expand Up @@ -658,7 +658,7 @@ export function getJSOptions(
id: js.id,
value: jsModuleInstance.name + "." + js.name,
type: jsOption.value,
icon: <Icon name="js-function" size="md" />,
icon: <Icon name="js-function-v2" size="md" />,
args: argValue,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const JSFunctionRun = (props: Props) => {
isDisabled={props.disabled}
kind="tertiary"
size="sm"
startIcon="js-function"
startIcon="js-function-v2"
Comment thread
ankitakinger marked this conversation as resolved.
Outdated
>
{props.selected.label}
</Button>
Expand Down