mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
custom fields: Add support for custom URL field type.
This commit is contained in:
committed by
Tim Abbott
parent
d2128105dd
commit
0d7d94d0db
@@ -68,6 +68,8 @@ exports.add_custom_profile_fields_to_settings = function () {
|
||||
type = "choice";
|
||||
} else if (field.type === 4) {
|
||||
type = "date";
|
||||
} else if (field.type === 5) {
|
||||
type = "url";
|
||||
} else {
|
||||
blueslip.error("Undefined field type.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user