Uprava error stranek, indexu

This commit is contained in:
Michal Kváček
2023-12-19 20:34:06 +01:00
parent 9aebc352cd
commit 966d582b63
28 changed files with 100 additions and 62 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
<script>
import {usePilotsStore} from "stores/Pilots";
import {useAppStore} from "stores/App";
export default {
preFetch({store, currentRoute}) {
return usePilotsStore(store).fetchPublicPilotDetail(currentRoute.params.username);
return usePilotsStore(store).fetchPublicPilotDetail(currentRoute.params.username).catch(e => {});
},
}
</script>