Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings_config: Add waiting_period_threshold_dropdown_values.

Sahil Batra4dd1676e9611
diff --git a/static/js/settings_config.ts b/static/js/settings_config.ts
index 4121a62501a..9e9e323bf54 100644
--- a/static/js/settings_config.ts
+++ b/static/js/settings_config.ts
@@ -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 = {