@things-factory/board-ui 6.0.12 → 6.0.14
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/client/board-provider.js +6 -1
- package/package.json +2 -2
package/client/board-provider.js
CHANGED
|
@@ -20,7 +20,12 @@ export function createBoardProvider() {
|
|
|
20
20
|
context: gqlContext()
|
|
21
21
|
})
|
|
22
22
|
|
|
23
|
-
const board = response.data
|
|
23
|
+
const board = response.data?.board
|
|
24
|
+
|
|
25
|
+
if (!board) {
|
|
26
|
+
reject(new Error('Failed to get the requested board.'))
|
|
27
|
+
return
|
|
28
|
+
}
|
|
24
29
|
|
|
25
30
|
var model = JSON.parse(board.model)
|
|
26
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/board-ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.14",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"file-saver": "^2.0.2",
|
|
46
46
|
"sortablejs": "^1.10.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "032db078ae849e84eb5aef75d781dcd17c34b999"
|
|
49
49
|
}
|