mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix(editor): Prevent scrim on executable triggers (#5068)
🐛 Prevent scrim on executable triggers
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
:linkedRuns="linked"
|
||||
:sessionId="sessionId"
|
||||
:isReadOnly="readOnly || hasForeignCredential"
|
||||
:blockUI="blockUi && isTriggerNode"
|
||||
:blockUI="blockUi && isTriggerNode && !isExecutableTriggerNode"
|
||||
:isProductionExecutionPreview="isProductionExecutionPreview"
|
||||
@linkRun="onLinkRunToOutput"
|
||||
@unlinkRun="() => onUnlinkRun('output')"
|
||||
@@ -143,6 +143,7 @@ import TriggerPanel from './TriggerPanel.vue';
|
||||
import {
|
||||
BASE_NODE_SURVEY_URL,
|
||||
EnterpriseEditionFeature,
|
||||
EXECUTABLE_TRIGGER_NODE_TYPES,
|
||||
START_NODE_TYPE,
|
||||
STICKY_NODE_TYPE,
|
||||
} from '@/constants';
|
||||
@@ -269,6 +270,11 @@ export default mixins(
|
||||
parentNode(): string | undefined {
|
||||
return this.parentNodes[0];
|
||||
},
|
||||
isExecutableTriggerNode(): boolean {
|
||||
if (!this.activeNodeType) return false;
|
||||
|
||||
return EXECUTABLE_TRIGGER_NODE_TYPES.includes(this.activeNodeType.name);
|
||||
},
|
||||
isTriggerNode(): boolean {
|
||||
return (
|
||||
!!this.activeNodeType &&
|
||||
|
||||
Reference in New Issue
Block a user