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:
@ -160,6 +160,9 @@ export const useRecordShowContainerTabs = (
|
|||||||
},
|
},
|
||||||
timeline: null,
|
timeline: null,
|
||||||
fields: null,
|
fields: null,
|
||||||
|
tasks: null,
|
||||||
|
notes: null,
|
||||||
|
files: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[CoreObjectNameSingular.WorkflowVersion]: {
|
[CoreObjectNameSingular.WorkflowVersion]: {
|
||||||
@ -179,6 +182,9 @@ export const useRecordShowContainerTabs = (
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
timeline: null,
|
timeline: null,
|
||||||
|
tasks: null,
|
||||||
|
notes: null,
|
||||||
|
files: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[CoreObjectNameSingular.WorkflowRun]: {
|
[CoreObjectNameSingular.WorkflowRun]: {
|
||||||
@ -212,6 +218,9 @@ export const useRecordShowContainerTabs = (
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
timeline: null,
|
timeline: null,
|
||||||
|
tasks: null,
|
||||||
|
notes: null,
|
||||||
|
files: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user