add varying intensity to stream tags
plus improving the tag select dropdown in general
This commit is contained in:
+5
-2
@@ -52,8 +52,11 @@ for (const file of files) {
|
||||
// Prepare attributes for insertion
|
||||
const fields = Object.entries(jsonData)
|
||||
.filter(([key]) => key in lookup)
|
||||
// Serialize value if array
|
||||
.map(([key, value]) => [lookup[key], Array.isArray(value) ? JSON.stringify(value) : value]);
|
||||
// Serialize value if array or object
|
||||
.map(([key, value]) => [
|
||||
lookup[key],
|
||||
typeof value === 'object' && value !== null ? JSON.stringify(value) : value
|
||||
]);
|
||||
|
||||
const row = existingRow.get(jsonData.id);
|
||||
if (row) {
|
||||
|
||||
Reference in New Issue
Block a user