Update sticky note node configuration

This commit is contained in:
Ilango 2024-01-12 13:45:06 +05:30
parent 951fda75c8
commit f5037f0b81
1 changed files with 4 additions and 6 deletions

View File

@ -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]
} }