1 parent 858d286 commit 3fec325Copy full SHA for 3fec325
1 file changed
js/App.vue
@@ -854,6 +854,18 @@ export default {
854
if (savedForm.filters) {
855
this.inputs.filters = savedForm.filters
856
}
857
+
858
+ const params = new URLSearchParams(window.location.search)
859
860
+ const site = params.get('site')
861
+ if (site === 'lichess' || site === 'chesscom') {
862
+ this.inputs.type = site
863
+ }
864
865
+ const username = params.get('username')
866
+ if (username) {
867
+ this.inputs.value = username
868
869
},
870
871
methods: {
0 commit comments