kordwarshuis / cardgame

0 stars 4 forks source link

Search function does not work when /about or /scores is initially loaded #36

Closed kordwarshuis closed 4 years ago

kordwarshuis commented 4 years ago

Error in callback for watcher "value": "TypeError: Cannot read property '0' of null"

[Vue warn]: Error in callback for watcher "value": "TypeError: Cannot read property '0' of null"

found in

---> at VueFuse.vue

at src/components/Search.vue at src/components/MainMenu.vue at src/App.vue
henkvancann commented 4 years ago

Yep, tested this with the word 'shitcoin'. However the function does suggest that it filters the right question+answers but it does not.

kordwarshuis commented 4 years ago

You can test to see what happens in the JS console. In Chrome press ALT - COMMAND - J to open console. Click on errors in the left panel.

kordwarshuis commented 4 years ago

1f5fcc27e299bde2777346b9290ca9cbf45a729a