mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
feat(editor): Improve how we show default Agent prompt and Memory session parameters (#11491)
This commit is contained in:
@@ -983,7 +983,7 @@ watch(remoteParameterOptionsLoading, () => {
|
||||
|
||||
// Focus input field when changing from fixed value to expression
|
||||
watch(isModelValueExpression, async (isExpression, wasExpression) => {
|
||||
if (isExpression && !wasExpression) {
|
||||
if (!props.isReadOnly && isExpression && !wasExpression) {
|
||||
await nextTick();
|
||||
inputField.value?.focus();
|
||||
}
|
||||
@@ -1497,7 +1497,7 @@ onUpdated(async () => {
|
||||
:disabled="isReadOnly"
|
||||
@update:model-value="valueChanged"
|
||||
/>
|
||||
<div v-if="showDragnDropTip" :class="$style.tip">
|
||||
<div v-if="!isReadOnly && showDragnDropTip" :class="$style.tip">
|
||||
<InlineExpressionTip />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user