mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(editor): Move overrideButton and other options to the left to line up with container boundary (no-changelog) (#13061)
This commit is contained in:
@@ -400,6 +400,13 @@ const getIssues = computed<string[]>(() => {
|
||||
return [];
|
||||
});
|
||||
|
||||
const displayIssues = computed(
|
||||
() =>
|
||||
props.parameter.type !== 'credentialsSelect' &&
|
||||
!isResourceLocatorParameter.value &&
|
||||
getIssues.value.length > 0,
|
||||
);
|
||||
|
||||
const editorType = computed<EditorType | 'json' | 'code'>(() => {
|
||||
return getArgument<EditorType>('editor');
|
||||
});
|
||||
@@ -1019,6 +1026,7 @@ const isSingleLineInput = computed(() => {
|
||||
|
||||
defineExpose({
|
||||
isSingleLineInput,
|
||||
displaysIssues: displayIssues.value,
|
||||
focusInput: async () => await setFocus(),
|
||||
selectInput: () => selectInput(),
|
||||
});
|
||||
@@ -1597,10 +1605,7 @@ onUpdated(async () => {
|
||||
>
|
||||
<slot name="overrideButton" />
|
||||
</div>
|
||||
<ParameterIssues
|
||||
v-if="parameter.type !== 'credentialsSelect' && !isResourceLocatorParameter"
|
||||
:issues="getIssues"
|
||||
/>
|
||||
<ParameterIssues v-if="displayIssues" :issues="getIssues" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user