mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Fix issue that parameter inputs on lower levels are very small
This commit is contained in:
parent
62134f639b
commit
de098f7da4
|
@ -30,6 +30,9 @@ export default Vue
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isMultiLineParameter () {
|
isMultiLineParameter () {
|
||||||
|
if (this.level > 4) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
const rows = this.getArgument('rows');
|
const rows = this.getArgument('rows');
|
||||||
if (rows !== undefined && rows > 1) {
|
if (rows !== undefined && rows > 1) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -37,6 +40,9 @@ export default Vue
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
level (): number {
|
||||||
|
return this.path.split('.').length;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
props: [
|
props: [
|
||||||
'displayOptions',
|
'displayOptions',
|
||||||
|
|
Loading…
Reference in a new issue