@lavalogic/scoria 0.5.0 → 0.5.1
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.
|
@@ -166,9 +166,14 @@
|
|
|
166
166
|
);
|
|
167
167
|
|
|
168
168
|
if (def.debug) {
|
|
169
|
-
console.log('value:', x);
|
|
169
|
+
console.log('value:', $state.snapshot(x));
|
|
170
170
|
}
|
|
171
171
|
value = (x ?? null) as SelectOption<unknown> | null;
|
|
172
|
+
} else if (def.debug) {
|
|
173
|
+
console.log(
|
|
174
|
+
'filtering state value was undefined',
|
|
175
|
+
$state.snapshot(tableContext.paginationRepo?.filtering)
|
|
176
|
+
);
|
|
172
177
|
}
|
|
173
178
|
} catch (e) {
|
|
174
179
|
console.warn(e);
|
|
@@ -388,7 +393,7 @@
|
|
|
388
393
|
tableContext.paginationRepo?.filterBy(def.id, newValue?.value ?? null);
|
|
389
394
|
tableContext.__queryValues.set(label ?? _uuid, newValue);
|
|
390
395
|
// FIXME <T> is lost when autoformatting. why?
|
|
391
|
-
value = newValue as SelectOption
|
|
396
|
+
value = newValue as SelectOption | null;
|
|
392
397
|
}}
|
|
393
398
|
/>
|
|
394
399
|
{:else}
|