@operato/board 1.4.69 → 1.4.71
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/CHANGELOG.md +19 -0
- package/dist/src/graphql/play-group.js +1 -1
- package/dist/src/graphql/play-group.js.map +1 -1
- package/dist/src/ox-board-viewer.js +1 -1
- package/dist/src/ox-board-viewer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/graphql/play-group.ts +1 -1
- package/src/ox-board-viewer.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/board",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.71",
|
|
4
4
|
"description": "Webcomponent for board following open-wc recommendations",
|
|
5
5
|
"author": "heartyoh",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -148,5 +148,5 @@
|
|
|
148
148
|
"prettier --write"
|
|
149
149
|
]
|
|
150
150
|
},
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "b33419d8c667b6457f2a93424afe2845faa63350"
|
|
152
152
|
}
|
|
@@ -89,7 +89,7 @@ export async function fetchPlayGroup(groupId: string) {
|
|
|
89
89
|
export async function fetchPlayGroupByName(name: string) {
|
|
90
90
|
const response = await client.query({
|
|
91
91
|
query: gql`
|
|
92
|
-
query
|
|
92
|
+
query FetchPlayGroupByName($name: String!) {
|
|
93
93
|
playGroupByName(name: $name) {
|
|
94
94
|
id
|
|
95
95
|
}
|
package/src/ox-board-viewer.ts
CHANGED
|
@@ -349,7 +349,7 @@ export class BoardViewer extends LitElement {
|
|
|
349
349
|
const id = (await fetchPlayGroupByName(playGroupName))?.id
|
|
350
350
|
const queryString = bindingData ? new URLSearchParams(bindingData).toString() : ''
|
|
351
351
|
|
|
352
|
-
history.pushState({}, '', `board-player?${queryString}`)
|
|
352
|
+
history.pushState({}, '', `board-player/${id}?${queryString}`)
|
|
353
353
|
window.dispatchEvent(new Event('popstate'))
|
|
354
354
|
}
|
|
355
355
|
|