nucleus-core-ts 0.9.856 → 0.9.858
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,7 +40,13 @@ export function MappingAccountFields({ value, targetFields, targets, disabled, o
|
|
|
40
40
|
onChange({
|
|
41
41
|
entity: '',
|
|
42
42
|
idColumn,
|
|
43
|
-
|
|
43
|
+
// Nothing is chosen until the accounts table is, because until then there
|
|
44
|
+
// is no list to choose from. It used to default to the literal 'email' —
|
|
45
|
+
// a column this product cannot promise exists, so an installation whose
|
|
46
|
+
// accounts are identified by a staff number or a username started with a
|
|
47
|
+
// rule pointing at a column that was not there, and the run failed at the
|
|
48
|
+
// first account.
|
|
49
|
+
matchColumn: '',
|
|
44
50
|
matchFrom: emailish,
|
|
45
51
|
passwordColumn: ''
|
|
46
52
|
});
|
|
@@ -70,7 +76,9 @@ export function MappingAccountFields({ value, targetFields, targets, disabled, o
|
|
|
70
76
|
onChange: (event)=>patch({
|
|
71
77
|
entity: event.target.value,
|
|
72
78
|
passwordColumn: '',
|
|
73
|
-
|
|
79
|
+
// Cleared, not guessed: the columns of the table just
|
|
80
|
+
// chosen are what the next field offers.
|
|
81
|
+
matchColumn: ''
|
|
74
82
|
}),
|
|
75
83
|
value: value.entity,
|
|
76
84
|
children: [
|