mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
fix feature
This commit is contained in:
parent
4a2adac50c
commit
f54cb08be7
|
@ -216,7 +216,7 @@ const canPinData = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const allToolsWereUnusedNotice = computed(() => {
|
const allToolsWereUnusedNotice = computed(() => {
|
||||||
if (!node.value) return undefined;
|
if (!node.value || runsCount.value === 0) return undefined;
|
||||||
|
|
||||||
const toolsAvailable = props.workflow.getParentNodes(
|
const toolsAvailable = props.workflow.getParentNodes(
|
||||||
node.value.name,
|
node.value.name,
|
||||||
|
|
|
@ -132,6 +132,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||||
mappingEnabled: false,
|
mappingEnabled: false,
|
||||||
isExecuting: false,
|
isExecuting: false,
|
||||||
hidePagination: false,
|
hidePagination: false,
|
||||||
|
calloutMessageKey: undefined,
|
||||||
});
|
});
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
search: [search: string];
|
search: [search: string];
|
||||||
|
@ -1352,13 +1353,11 @@ defineExpose({ enterEditMode });
|
||||||
|
|
||||||
<slot v-if="!displaysMultipleNodes" name="before-data" />
|
<slot v-if="!displaysMultipleNodes" name="before-data" />
|
||||||
|
|
||||||
<N8nCallout
|
<div v-if="props.calloutMessageKey" :class="$style.calloutMessage">
|
||||||
v-if="props.calloutMessageKey"
|
<N8nCallout :key="props.calloutMessageKey" theme="secondary" data-test-id="run-data-callout">
|
||||||
:key="props.calloutMessageKey"
|
<N8nText v-n8n-html="props.calloutMessageKey" size="small"></N8nText>
|
||||||
:class="$style.callout"
|
</N8nCallout>
|
||||||
theme="secondary"
|
</div>
|
||||||
data-test-id="run-data-callout"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<N8nCallout
|
<N8nCallout
|
||||||
v-for="hint in getNodeHints()"
|
v-for="hint in getNodeHints()"
|
||||||
|
@ -2085,7 +2084,7 @@ defineExpose({ enterEditMode });
|
||||||
padding: 0 var(--spacing-s);
|
padding: 0 var(--spacing-s);
|
||||||
}
|
}
|
||||||
|
|
||||||
.noToolsUsedAlert {
|
.calloutMessage {
|
||||||
padding: var(--spacing-s);
|
padding: var(--spacing-s);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue