-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync changes from EE excluding enterprise directory
- Loading branch information
1 parent
fb21570
commit 5cb101f
Showing
3 changed files
with
75 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
export const useWorkflowOptions = () => { | ||
return []; | ||
}; | ||
|
||
// We don't want to show the create new JS object option if the user is in the workflow editor | ||
// this is done since worflows runner doesn't support multiple JS objects | ||
// TODO: Remove this once workflows can support multiple JS objects | ||
export const checkIfJSObjectCreationAllowed = () => { | ||
return false; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters