mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Refactor submission description for consistency
This commit is contained in:
parent
973642ad36
commit
c346560ec6
|
@ -7,13 +7,8 @@ export const submissionOperations = [
|
||||||
displayName: 'Operation',
|
displayName: 'Operation',
|
||||||
name: 'operation',
|
name: 'operation',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
displayOptions: {
|
default: 'post',
|
||||||
show: {
|
description: 'Operation to perform',
|
||||||
resource: [
|
|
||||||
'submission',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Post',
|
name: 'Post',
|
||||||
|
@ -21,8 +16,13 @@ export const submissionOperations = [
|
||||||
description: 'Post a submission to a subreddit',
|
description: 'Post a submission to a subreddit',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
default: 'post',
|
displayOptions: {
|
||||||
description: 'Operation to perform',
|
show: {
|
||||||
|
resource: [
|
||||||
|
'submission',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
] as INodeProperties[];
|
] as INodeProperties[];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue