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
baseClasses: string[]
inputs: INodeParams[]
disableOutput: boolean
constructor() {
this.label = 'Sticky Note'
@ -19,18 +18,17 @@ class StickyNote implements INode {
this.type = 'StickyNote'
this.icon = 'stickyNote.svg'
this.category = 'Utilities'
this.description = 'Add a note about a node'
this.description = 'Add a sticky note'
this.inputs = [
{
label: 'Note',
label: '',
name: 'note',
type: 'string',
rows: 4,
placeholder: 'Input your notes',
rows: 1,
placeholder: 'Type something here',
optional: true
}
]
this.disableOutput = true
this.baseClasses = [this.type]
}