settings_config: Add waiting_period_threshold_dropdown_values.

This list will be used in further commits in settings_org.js
code for waiting period threshold setting.
This commit is contained in:
Sahil Batra 2022-12-09 20:53:36 +05:30 committed by Tim Abbott
parent 43898be138
commit 4dd1676e96
1 changed files with 15 additions and 0 deletions

View File

@ -349,6 +349,21 @@ export const time_limit_dropdown_values = [
export const msg_edit_limit_dropdown_values = time_limit_dropdown_values;
export const msg_delete_limit_dropdown_values = time_limit_dropdown_values;
export const waiting_period_threshold_dropdown_values = [
{
description: $t({defaultMessage: "None"}),
code: 0,
},
{
description: $t({defaultMessage: "3 days"}),
code: 3,
},
{
description: $t({defaultMessage: "Custom"}),
code: "custom_period",
},
];
export const retain_message_forever = -1;
export const user_role_values = {