gatsby-source-ashby
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -110,2 +110,10 @@ const axios = require("axios"); | ||
}); | ||
if (Array.isArray(source.value)) { | ||
const value = source.value.map( | ||
(sourceValue) => | ||
data?.selectableValues?.find(({ value }) => value === sourceValue) | ||
?.label || sourceValue | ||
); | ||
return JSON.stringify(value); | ||
} | ||
const value = | ||
@@ -112,0 +120,0 @@ data?.selectableValues?.find(({ value }) => { |
{ | ||
"name": "gatsby-source-ashby", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Sources all published job postings from Ashby", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5551
5
120