Skip to content

Commit

Permalink
Address PR points
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv committed Dec 8, 2022
1 parent a50747d commit 84e9739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<div
:class="{
[$style.creatorNode]: true,
[$style.padingless]: padingless,
[$style.hasAction]: !showActionArrow,
}"
v-on="$listeners"
Expand Down Expand Up @@ -41,7 +40,6 @@ export interface Props {
isTrigger?: boolean;
description?: string;
title: string;
padingless?: boolean;
showActionArrow?: boolean;
}
Expand All @@ -58,13 +56,11 @@ defineEmits<{
align-items: center;
cursor: pointer;
z-index: 1;
padding: 11px 8px 11px 0;
&.hasAction {
user-select: none;
}
&:not(&.padingless) {
padding: 11px 8px 11px 0;
}
}
.creatorNode:hover .panelIcon {
color: var(--color-text-light);
Expand Down Expand Up @@ -100,10 +96,6 @@ defineEmits<{
max-width: 25px;
}
}
.test {
width: 1px;
height: 1px;
}
.name {
font-weight: var(--font-weight-bold);
font-size: var(--font-size-s);
Expand All @@ -120,10 +112,6 @@ defineEmits<{
.triggerIcon {
margin-left: var(--spacing-2xs);
}
.tooltip {
vertical-align: top;
}
</style>

<style lang="scss" scoped>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function getCustomAPICallHintLocale(key: string) {
}
// The nodes.json doesn't contain API CALL option so we need to fetch the node detail
// to determine if need to render the API CALL hint
async function fechNodeDetails() {
async function fetchNodeDetails() {
if(!state.activeNodeActions) return;
const { getNodesInformation } = useNodeTypesStore();
Expand All @@ -292,7 +292,7 @@ async function fechNodeDetails() {
function setActiveActionsNodeType(nodeType: INodeTypeDescription | null) {
state.activeNodeActions = nodeType;
setShowTabs(false);
fechNodeDetails();
fetchNodeDetails();
if(nodeType) trackActionsView();
}
Expand Down

0 comments on commit 84e9739

Please sign in to comment.