mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): disable trigger node execution pinning toolip for schedule nodes (#4334)
fix(editor): do not show trigger node execution pinning toolip for schedule nodes
This commit is contained in:
@@ -126,6 +126,9 @@ export default mixins(
|
||||
NodeIcon,
|
||||
},
|
||||
computed: {
|
||||
isScheduledGroup (): boolean {
|
||||
return this.nodeType?.group.includes('schedule') === true;
|
||||
},
|
||||
nodeRunData(): ITaskData[] {
|
||||
return this.$store.getters.getWorkflowResultDataByNodeName(this.data.name);
|
||||
},
|
||||
@@ -375,14 +378,12 @@ export default mixins(
|
||||
},
|
||||
methods: {
|
||||
showPinDataDiscoveryTooltip(dataItemsCount: number): void {
|
||||
if (!this.isTriggerNode) { return; }
|
||||
if (!this.isTriggerNode || this.isScheduledGroup || dataItemsCount === 0) return;
|
||||
|
||||
if (dataItemsCount > 0) {
|
||||
localStorage.setItem(LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, 'true');
|
||||
localStorage.setItem(LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, 'true');
|
||||
|
||||
this.pinDataDiscoveryTooltipVisible = true;
|
||||
this.unwatchWorkflowDataItems();
|
||||
}
|
||||
this.pinDataDiscoveryTooltipVisible = true;
|
||||
this.unwatchWorkflowDataItems();
|
||||
},
|
||||
setSubtitle() {
|
||||
const nodeSubtitle = this.getNodeSubtitle(this.data, this.nodeType, this.getCurrentWorkflow()) || '';
|
||||
|
||||
Reference in New Issue
Block a user