mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-28 07:17:04 +02:00
fix(editor): Fix empty variables notice indent in schema view (no-changelog) (#21761)
This commit is contained in:
parent
bd62be0409
commit
bc70aedead
|
|
@ -259,7 +259,8 @@ const contextItems = computed(() => {
|
|||
const variablesEmptyNotice: RenderNotice = {
|
||||
type: 'notice',
|
||||
id: 'notice-variablesEmpty',
|
||||
level: renderItem.level ?? 0,
|
||||
// Increase level to indent under $vars
|
||||
level: (renderItem.level ?? 0) + 1,
|
||||
message: i18n.baseText('dataMapping.schemaView.variablesEmpty'),
|
||||
};
|
||||
return [renderItem, variablesEmptyNotice];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user