Prevent workflows to be opened in side panel (#12738)
Workflow views and versions are seed being opened by default into record page. Issue is that: - new views are set by default to side panel. Updated by copying the current opensIn value to the new view - users can still select side panel into their options. Disabling the button. <img width="650" alt="Capture d’écran 2025-06-19 à 16 15 34" src="https://github.com/user-attachments/assets/0ddc3284-0fed-404f-9c1d-225c65549fd1" />
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export const canOpenObjectInSidePanel = (objectNameSingular: string) =>
|
||||
!(
|
||||
objectNameSingular === 'workflow' ||
|
||||
objectNameSingular === 'workflowVersion'
|
||||
);
|
||||
Reference in New Issue
Block a user