mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 15:44:28 +00:00
feat(webui): render select options in field creation mode and pick random option color
This commit is contained in:
@@ -1731,9 +1731,7 @@ describe('Agent Database Activities Integration', () => {
|
||||
expect(source?.type).toBe('select')
|
||||
expect(source?.description).toBe('Generation source')
|
||||
expect(source?.options).toEqual([{ displayName: 'Gemini' }, { displayName: 'Seedance' }])
|
||||
expect(
|
||||
res.fields.find((f: { name: string }) => f.name === 'Manual Notes'),
|
||||
).toBeUndefined()
|
||||
expect(res.fields.find((f: { name: string }) => f.name === 'Manual Notes')).toBeUndefined()
|
||||
})
|
||||
|
||||
it('should resolve the project through the ancestor chain', async () => {
|
||||
|
||||
Reference in New Issue
Block a user