summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/lib/db/backupDB.js10
-rw-r--r--client/src/lib/db/index.js3
2 files changed, 5 insertions, 8 deletions
diff --git a/client/src/lib/db/backupDB.js b/client/src/lib/db/backupDB.js
index 3c38aed..cc912ea 100644
--- a/client/src/lib/db/backupDB.js
+++ b/client/src/lib/db/backupDB.js
@@ -2584,8 +2584,8 @@ export const backupDB = {
"id": "drone-statistics",
"title": "Drone Statistics",
"intro": "Military use of unmanned aircraft systems has grown by leaps and bounds over the last decade. In 2012, the US Air Force trained more drone pilots than normal pilots; the US Military has over 1,300 drone pilots in active service. Where drones were once used strictly for surveillance, their role has expanded as technology advances and budgets increase. Drones come in all shapes and sizes, from very small spy drones to large weapon-bearing predators. Unencumbered by human cargo, some drones can stay in the air for over six months, observing a target from high in the sky, completely invisible from the ground.",
- "strikes": "2,935",
- "totalKilled": "6,382-9,240",
+ "strikes": "3,341",
+ "totalKilled": "6,435-9,309",
"civiliansKilled": "739-1,407",
"childrenKilled": "240-308",
"__index": 0,
@@ -2600,10 +2600,6 @@ export const backupDB = {
"uri": "https://www.defense.gov/UAS/"
},
{
- "text": "Drone Survival Guide",
- "uri": "http://www.dronesurvivalguide.org/"
- },
- {
"text": "Drones Explained (CNN)",
"uri": "http://edition.cnn.com/2013/02/07/politics/drones-cnn-explains/"
},
@@ -2648,7 +2644,7 @@ export const backupDB = {
"price": "5.00",
"__index": 0,
"dateCreated": "Sat, 17 Jun 2017 08:18:17 GMT",
- "printLine1": "Go to the gift shop to purchase your print.",
+ "printLine1": "Please go to the gift shop to purchase your print.",
"printLine2": "Each print costs $5.00."
}
]
diff --git a/client/src/lib/db/index.js b/client/src/lib/db/index.js
index 956d80d..31165c6 100644
--- a/client/src/lib/db/index.js
+++ b/client/src/lib/db/index.js
@@ -43,7 +43,8 @@ function parse(db) {
parsed.timeline = parsed.timeline
.filter((el) => ! el.disabled)
.sort((a,b) => a.__index<b.__index?-1:a.__index===b.__index?0:1)
- Object.values(page).forEach((el) => {
+ Object.keys(page).forEach((key) => {
+ const el = page[key]
parsed.page[el.id] = el
})
parseKeywords(parsed)