mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Fixed a regression in predict map columns page (#12799)
This commit is contained in:
@@ -326,7 +326,7 @@ export class ColumnsTable extends ModelViewBase implements IDataComponent<Predic
|
|||||||
}
|
}
|
||||||
|
|
||||||
const currentColumn = columns.find(x => x.columnName === value);
|
const currentColumn = columns.find(x => x.columnName === value);
|
||||||
if (currentColumn && modelParameter.type !== currentColumn?.dataType) {
|
if (currentColumn && modelParameter.type === currentColumn?.dataType) {
|
||||||
inputContainer.removeItem(warningButton);
|
inputContainer.removeItem(warningButton);
|
||||||
} else {
|
} else {
|
||||||
inputContainer.addItem(warningButton, {
|
inputContainer.addItem(warningButton, {
|
||||||
|
|||||||
Reference in New Issue
Block a user