Skip to content

Commit

Permalink
console: fix clone row in data browser (close #5336) (#5337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandra Sikora committed Jul 9, 2020
1 parent 51174ce commit cefe06e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export const TypedInput = ({

const placeHolder = hasDefault ? colDefault : getPlaceholder(colType);
const getDefaultValue = () => {
if (clone && colName in clone) return clone[colName];
if (prevValue !== undefined) {
return prevValue === null ? '' : prevValue;
}
if (clone && colName in clone) return clone[colName];
return '';
};

Expand Down

0 comments on commit cefe06e

Please sign in to comment.