mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: edit org display names and descriptions (#13474)
This commit is contained in:
@@ -65,8 +65,8 @@ func TemplateVersionNameValid(str string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TemplateDisplayNameValid returns whether the input string is a valid template display name.
|
||||
func TemplateDisplayNameValid(str string) error {
|
||||
// DisplayNameValid returns whether the input string is a valid template display name.
|
||||
func DisplayNameValid(str string) error {
|
||||
if len(str) == 0 {
|
||||
return nil // empty display_name is correct
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user