Avatar do admina, pridani debrief informaci
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
<script>
|
||||
import {usePilotsStore} from "stores/Pilots";
|
||||
import {useAppStore} from "stores/App";
|
||||
|
||||
export default {
|
||||
preFetch({store, currentRoute}) {
|
||||
return usePilotsStore(store).fetchPublicPilotDetail(currentRoute.params.username).catch(e => {
|
||||
useAppStore().appStatus = 404;
|
||||
});
|
||||
return usePilotsStore(store).fetchPublicPilotDetail(currentRoute.params.username).catch(e => {});
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@@ -16,8 +13,6 @@ import {storeToRefs} from "pinia";
|
||||
import PilotProfileCard from "components/profile/PilotProfileCard.vue";
|
||||
import PublicProfileSkeleton from "components/profile/skeletons/PublicProfileSkeleton.vue";
|
||||
|
||||
console.log("pilot profile wrapper");
|
||||
|
||||
const {pilot, isQueryRunning: pilotLoading} = storeToRefs(usePilotsStore());
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user