relay: better wording for noop
This commit is contained in:
@@ -3,6 +3,7 @@ import { prettyBinarySize } from '@cloudron/pankow/utils';
|
||||
import { RELAY_PROVIDERS, ISTATES, STORAGE_PROVIDERS } from './constants.js';
|
||||
|
||||
function prettyRelayProviderName(provider) {
|
||||
if (provider === 'noop') return 'Disabled (no email will be sent)';
|
||||
const tmp = RELAY_PROVIDERS.find(p => p.provider === provider);
|
||||
return tmp ? tmp.name : provider;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user