mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-22 10:21:37 +00:00
committed by
GitHub
parent
9787a5ce7c
commit
3b6b987149
@@ -166,7 +166,7 @@ export class SelfServeComponent extends React.Component<SelfServeComponentProps,
|
||||
const { baselineValues } = this.state;
|
||||
for (const key of currentValues.keys()) {
|
||||
const baselineValue = baselineValues.get(key);
|
||||
currentValues = currentValues.set(key, { ...baselineValue });
|
||||
currentValues = currentValues.set(key, baselineValue ? { ...baselineValue } : baselineValue);
|
||||
}
|
||||
this.setState({ currentValues });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user