Uprava error stranek, indexu
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user