mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 22:18:33 +00:00
tests: fix breaking tests (#7132)
* fix: update placeholder text for environment variable input * fix: handle undefined color in environment objects Don't export if `undefined` * fix: update collection import logic for YML and BRU formats * fix: ensure error icon is not visible after header validation * fix: specify format for collection and environment serialization
This commit is contained in:
@@ -477,7 +477,7 @@ const EnvironmentVariablesTable = ({
|
||||
id={`${actualIndex}.name`}
|
||||
name={`${actualIndex}.name`}
|
||||
value={variable.name}
|
||||
placeholder={!variable.value || (typeof variable.value === 'string' && variable.value.trim() === '') ? 'Value' : ''}
|
||||
placeholder={!variable.value || (typeof variable.value === 'string' && variable.value.trim() === '') ? 'Name' : ''}
|
||||
onChange={(e) => handleNameChange(actualIndex, e)}
|
||||
onBlur={() => handleNameBlur(actualIndex)}
|
||||
onKeyDown={(e) => handleNameKeyDown(actualIndex, e)}
|
||||
|
||||
Reference in New Issue
Block a user