Skip to content

Commit

Permalink
fix: incorrect csv import example on frontend
Browse files Browse the repository at this point in the history
Example given for CSV import on Import.vue is incorrect since
field `attributes` value is not a valid JSON. Previous example
copy pasted was throwing CSV parse error.
  • Loading branch information
vividvilla committed Oct 3, 2020
1 parent 23d479e commit 025d54b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/views/Import.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,12 @@
<code className="csv-row">
<span>user1@mail.com,</span>
<span>"User One",</span>
<span>{'"{""age"": 42, ""planet"": ""Mars""}"'}</span>
<span>"{""age"": 42, ""planet"": ""Mars""}"</span>
</code><br />
<code className="csv-row">
<span>user2@mail.com,</span>
<span>"User Two",</span>
<span>
{'"{""age"": 24, ""job"": ""Time Traveller""}"'}
</span>
<span>"{""age"": 24, ""job"": ""Time Traveller""}"</span>
</code>
</blockquote>
</div>
Expand Down

0 comments on commit 025d54b

Please sign in to comment.