@saltcorn/builder 0.8.6-beta.8 → 0.8.6
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.
package/package.json
CHANGED
|
@@ -145,11 +145,12 @@ export /**
|
|
|
145
145
|
<option>File</option>
|
|
146
146
|
<option>URL</option>
|
|
147
147
|
<option>Upload</option>
|
|
148
|
+
{options.mode === "page" && <option>Base64</option>}
|
|
148
149
|
{options.mode === "show" && <option>Field</option>}
|
|
149
150
|
</select>
|
|
150
151
|
</td>
|
|
151
152
|
</tr>
|
|
152
|
-
{srctype === "File" && (
|
|
153
|
+
{(srctype === "File" || srctype === "Base64") && (
|
|
153
154
|
<tr>
|
|
154
155
|
<td>
|
|
155
156
|
<label>File</label>
|
|
@@ -251,7 +252,7 @@ export /**
|
|
|
251
252
|
</td>
|
|
252
253
|
</tr>
|
|
253
254
|
)}
|
|
254
|
-
{srctype !== "Upload" && (
|
|
255
|
+
{srctype !== "Upload" && srctype !== "Base64" && (
|
|
255
256
|
<tr>
|
|
256
257
|
<td style={{ verticalAlign: "top" }}>
|
|
257
258
|
<label>Responsive widths</label>
|