Added feature flag for portal improvements

refs GRO-154
This commit is contained in:
Djordje Vlaisavljevic 2023-12-04 17:43:04 +00:00
parent b450db557b
commit 36294c6482
3 changed files with 7 additions and 1 deletions

View File

@ -67,6 +67,10 @@ const features = [{
title: 'New email addresses',
description: 'For self hosters, forces the usage of the mail.from config as from address for all outgoing emails',
flag: 'newEmailAddresses'
},{
title: 'Portal improvements',
description: 'Adds a bunch of improvements to portal and portal settings',
flag: 'portalImprovements'
}];
const AlphaFeatures: React.FC = () => {

View File

@ -81,6 +81,7 @@ export default class FeatureService extends Service {
@feature('filterEmailDisabled') filterEmailDisabled;
@feature('adminXDemo') adminXDemo;
@feature('tkReminders') tkReminders;
@feature('portalImprovements') portalImprovements;
_user = null;

View File

@ -50,7 +50,8 @@ const ALPHA_FEATURES = [
'filterEmailDisabled',
'adminXDemo',
'tkReminders',
'newEmailAddresses'
'newEmailAddresses',
'portalImprovements'
];
module.exports.GA_KEYS = [...GA_FEATURES];