feat: support order property of coder_agent (#12121)

This commit is contained in:
Marcin Tojek
2024-02-15 13:33:13 +01:00
committed by GitHub
parent c66e665864
commit 7a453608c9
21 changed files with 378 additions and 276 deletions

View File

@ -5648,6 +5648,7 @@ func (q *FakeQuerier) InsertWorkspaceAgent(_ context.Context, arg database.Inser
MOTDFile: arg.MOTDFile,
LifecycleState: database.WorkspaceAgentLifecycleStateCreated,
DisplayApps: arg.DisplayApps,
DisplayOrder: arg.DisplayOrder,
}
q.workspaceAgents = append(q.workspaceAgents, agent)