diff options
Diffstat (limited to 'web/react/utils/client.jsx')
-rw-r--r-- | web/react/utils/client.jsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx index 09e962161..628e885f2 100644 --- a/web/react/utils/client.jsx +++ b/web/react/utils/client.jsx @@ -1320,3 +1320,16 @@ export function regenOutgoingHookToken(data, success, error) { } }); } + +export function getAvailablePreReleaseFeatures(success, error) { + $.ajax({ + url: '/static/config/pre_release_features.json', + dataType: 'json', + type: 'GET', + success, + error: (xhr, status, err) => { + var e = handleError('getAvailablePreReleaseFeatures', xhr, status, err); + error(e); + } + }); +} |