Remove task, note and file tabs for workflows (#11453)

Command menu tries to fetch task, file and notes that are not available
for workflow entities. Hiding those tabs
This commit is contained in:
Thomas Trompette
2025-04-08 17:35:41 +02:00
committed by GitHub
parent a049cd4a25
commit dd1d9c32c3

View File

@ -160,6 +160,9 @@ export const useRecordShowContainerTabs = (
},
timeline: null,
fields: null,
tasks: null,
notes: null,
files: null,
},
},
[CoreObjectNameSingular.WorkflowVersion]: {
@ -179,6 +182,9 @@ export const useRecordShowContainerTabs = (
},
},
timeline: null,
tasks: null,
notes: null,
files: null,
},
},
[CoreObjectNameSingular.WorkflowRun]: {
@ -212,6 +218,9 @@ export const useRecordShowContainerTabs = (
},
},
timeline: null,
tasks: null,
notes: null,
files: null,
},
},
}),