mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
fix: isWorkflowsFeatureEnabled method added
This commit is contained in:
parent
8ee2a50247
commit
abcbea75c0
2 changed files with 7 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 090712e637c204ea39becd8d42630f7fa0a56e13
|
||||
Subproject commit ad35ce1820275c89a119520098b8e08a3b5c94c2
|
||||
|
|
@ -18,4 +18,9 @@ const fetchEdition = () => {
|
|||
return config.TOOLJET_EDITION?.toLowerCase() || 'ce';
|
||||
};
|
||||
|
||||
export { processErrorMessage, clearPageHistory, fetchEdition };
|
||||
const isWorkflowsFeatureEnabled = () => {
|
||||
if (fetchEdition() === 'ee') return true;
|
||||
return false;
|
||||
};
|
||||
|
||||
export { processErrorMessage, clearPageHistory, fetchEdition, isWorkflowsFeatureEnabled };
|
||||
|
|
|
|||
Loading…
Reference in a new issue