mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-28 19:59:18 -04:00
Remove folders feature flag
Every service has this feature now[1] so we don’t need to check whether or not it’s switched on any more. 1. https://github.com/alphagov/notifications-api/pull/2286
This commit is contained in:
@@ -947,7 +947,7 @@ class ChooseTemplateType(StripWhitespaceForm):
|
||||
]
|
||||
)
|
||||
|
||||
def __init__(self, include_letters=False, include_copy=False, include_folder=False, *args, **kwargs):
|
||||
def __init__(self, include_letters=False, include_copy=False, *args, **kwargs):
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
@@ -956,7 +956,7 @@ class ChooseTemplateType(StripWhitespaceForm):
|
||||
('sms', 'Text message template'),
|
||||
('letter', 'Letter template') if include_letters else None,
|
||||
('copy-existing', 'Copy of an existing template') if include_copy else None,
|
||||
('folder', 'Folder') if include_folder else None,
|
||||
('folder', 'Folder'),
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user