Skip to content

Commit 306ae55

Browse files
committed
Remove type text from slot
1 parent d9dc6b0 commit 306ae55

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/components/graph/vueNodes/NodeSlots.vue

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
:key="`input-${index}`"
1212
class="text-xs text-gray-300"
1313
>
14-
{{ getInputName(input, index) }} ({{ getInputType(input) }})
14+
{{ getInputName(input, index) }}
1515
</div>
1616
</div>
1717

@@ -22,7 +22,7 @@
2222
:key="`output-${index}`"
2323
class="text-xs text-gray-300"
2424
>
25-
{{ getOutputName(output, index) }} ({{ getOutputType(output) }})
25+
{{ getOutputName(output, index) }}
2626
</div>
2727
</div>
2828
</div>
@@ -58,12 +58,12 @@ const getInputName = (input: unknown, index: number): string => {
5858
return `Input ${index}`
5959
}
6060
61-
const getInputType = (input: unknown): string => {
62-
if (isSlotObject(input) && input.type) {
63-
return input.type
64-
}
65-
return 'any'
66-
}
61+
// const getInputType = (input: unknown): string => {
62+
// if (isSlotObject(input) && input.type) {
63+
// return input.type
64+
// }
65+
// return 'any'
66+
// }
6767
6868
const getOutputName = (output: unknown, index: number): string => {
6969
if (isSlotObject(output) && output.name) {
@@ -72,12 +72,12 @@ const getOutputName = (output: unknown, index: number): string => {
7272
return `Output ${index}`
7373
}
7474
75-
const getOutputType = (output: unknown): string => {
76-
if (isSlotObject(output) && output.type) {
77-
return output.type
78-
}
79-
return 'any'
80-
}
75+
// const getOutputType = (output: unknown): string => {
76+
// if (isSlotObject(output) && output.type) {
77+
// return output.type
78+
// }
79+
// return 'any'
80+
// }
8181
8282
// Error boundary implementation
8383
const renderError = ref<string | null>(null)

0 commit comments

Comments
 (0)