Prace s mapou, refresh tokenu (tak nejak), uprava vypisu POI, pridani breadcrumbs
This commit is contained in:
@@ -13,7 +13,7 @@ onMounted(() => {
|
||||
<template>
|
||||
<AircraftsListSkeleton v-if="loading" />
|
||||
|
||||
<AircraftsList :items="aircrafts" v-else />
|
||||
<AircraftsList class="q-my-lg" :items="aircrafts" v-else />
|
||||
|
||||
<FAB mode="add" :router-link="{name: 'addAircraft'}"/>
|
||||
</template>
|
||||
|
||||
+7
-5
@@ -4,17 +4,19 @@ import CopilotListSkeleton from "components/copilots/CopilotListSkeleton.vue";
|
||||
import {fetchCopilots, loading, copilots} from "src/composables/objects/copilot";
|
||||
import CopilotsList from "components/copilots/CopilotsList.vue";
|
||||
import FAB from "components/FAB.vue";
|
||||
import {useAppStore} from "stores/App";
|
||||
|
||||
onMounted(() => {
|
||||
fetchCopilots();
|
||||
useAppStore().setPageTitle("Spolucestující");
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<CopilotListSkeleton v-if="loading" />
|
||||
|
||||
<CopilotsList :items="copilots" />
|
||||
|
||||
<FAB :router-link="{name: 'addCopilot'}" mode="add" />
|
||||
<CopilotListSkeleton v-if="loading"/>
|
||||
|
||||
<template v-else>
|
||||
<CopilotsList class="q-my-lg" :items="copilots"/>
|
||||
<FAB :router-link="{name: 'addCopilot'}" mode="add"/>
|
||||
</template>
|
||||
</template>
|
||||
@@ -19,7 +19,7 @@ onMounted(() => {
|
||||
<FlightsListSkeleton v-if="loading"/>
|
||||
|
||||
<div class="q-pa-md q-gutter-sm" v-else-if="!loading && flights.length === 0">
|
||||
<q-banner class="bg-light-blue text-white ">
|
||||
<q-banner class="bg-light-blue text-white">
|
||||
<template v-slot:avatar>
|
||||
<q-icon name="info"/>
|
||||
</template>
|
||||
|
||||
@@ -16,7 +16,7 @@ useAppStore().setPageTitle("Zajímavá místa")
|
||||
<template>
|
||||
<POIListSkeleton v-if="loading"/>
|
||||
|
||||
<POIList v-else :items="pointsOfInterest"/>
|
||||
<POIList v-else class="q-my-lg" :items="pointsOfInterest"/>
|
||||
|
||||
<FAB :router-link="{name: 'addPOI'}" mode="add" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user