Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Frontend V2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GraphPolaris
Frontend V2
Commits
36eaf55f
You need to sign in or sign up before continuing.
Commit
36eaf55f
authored
4 months ago
by
Sjoerd Vink
Committed by
Leonardo Christino
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(logicPill): upper/lower case with right handle
parent
e6252028
Branches
fix/sharelink
No related tags found
1 merge request
!331
fix: upper/lower case logic pill with right handle
Pipeline
#141664
passed
4 months ago
Stage: tag-release
Stage: get-release-tag
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx
+4
-3
4 additions, 3 deletions
...uilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx
with
4 additions
and
3 deletions
libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx
+
4
−
3
View file @
36eaf55f
...
...
@@ -66,12 +66,13 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
return
null
;
}
console
.
log
(
'
node
'
,
node
);
return
(
<
LogicPill
title
=
{
<
div
className
=
"flex flex-row justify-between items-center"
>
<
span
>
{
connectionsToLeft
[
0
]?.
attributes
?.
sourceHandleData
.
attributeName
}
</
span
>
<
DropdownContainer
>
<
DropdownTrigger
size
=
"md"
>
<
Button
...
...
@@ -155,7 +156,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
</
div
>
);
})
}
{
/* {!!
node.data.logic.output && (
{
[
'
upper_case
'
,
'
lower_case
'
].
includes
(
node
.
data
.
logic
.
output
.
name
)
&&
(
<
Handle
type
=
{
'
source
'
}
position
=
{
Position
.
Right
}
...
...
@@ -167,7 +168,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
})
}
className
=
{
styleHandleMap
?.[
output
.
type
]
}
></
Handle
>
)}
*/
}
)
}
</
div
>
</
LogicPill
>
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment