mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix: do not skip properties on creating templates (#5060)
* fix: do not skip properties while creating templates * test: empty edit
This commit is contained in:
@ -2091,6 +2091,8 @@ func (q *fakeQuerier) InsertTemplate(_ context.Context, arg database.InsertTempl
|
||||
CreatedBy: arg.CreatedBy,
|
||||
UserACL: arg.UserACL,
|
||||
GroupACL: arg.GroupACL,
|
||||
DisplayName: arg.DisplayName,
|
||||
Icon: arg.Icon,
|
||||
}
|
||||
q.templates = append(q.templates, template)
|
||||
return template, nil
|
||||
|
Reference in New Issue
Block a user