mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
Update sticky note node configuration
This commit is contained in:
@@ -10,7 +10,6 @@ class StickyNote implements INode {
|
|||||||
category: string
|
category: string
|
||||||
baseClasses: string[]
|
baseClasses: string[]
|
||||||
inputs: INodeParams[]
|
inputs: INodeParams[]
|
||||||
disableOutput: boolean
|
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.label = 'Sticky Note'
|
this.label = 'Sticky Note'
|
||||||
@@ -19,18 +18,17 @@ class StickyNote implements INode {
|
|||||||
this.type = 'StickyNote'
|
this.type = 'StickyNote'
|
||||||
this.icon = 'stickyNote.svg'
|
this.icon = 'stickyNote.svg'
|
||||||
this.category = 'Utilities'
|
this.category = 'Utilities'
|
||||||
this.description = 'Add a note about a node'
|
this.description = 'Add a sticky note'
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
label: 'Note',
|
label: '',
|
||||||
name: 'note',
|
name: 'note',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
rows: 4,
|
rows: 1,
|
||||||
placeholder: 'Input your notes',
|
placeholder: 'Type something here',
|
||||||
optional: true
|
optional: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
this.disableOutput = true
|
|
||||||
this.baseClasses = [this.type]
|
this.baseClasses = [this.type]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user