mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Fix: disable email workflow type if email not enabled
This commit is contained in:
@@ -70,6 +70,7 @@ export const SETTINGS_KEYS = {
|
||||
EMPTY_TRASH_DELAY: 'trash_delay',
|
||||
GMAIL_OAUTH_URL: 'gmail_oauth_url',
|
||||
OUTLOOK_OAUTH_URL: 'outlook_oauth_url',
|
||||
EMAIL_ENABLED: 'email_enabled',
|
||||
}
|
||||
|
||||
export const SETTINGS: UiSetting[] = [
|
||||
@@ -263,4 +264,9 @@ export const SETTINGS: UiSetting[] = [
|
||||
type: 'string',
|
||||
default: null,
|
||||
},
|
||||
{
|
||||
key: SETTINGS_KEYS.EMAIL_ENABLED,
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
]
|
||||
|
Reference in New Issue
Block a user