Browse Source

lesson tweaks

master
Korneel Eeckhout 4 years ago
parent
commit
259a466ee9

+ 1
- 1
src/components/FormulateDestination.vue View File

@@ -16,7 +16,7 @@
<script>
import Places from 'vue-places';
export default {
name: 'FormulateStars',
name: 'FormulateDestination',
components: {
Places,
},

+ 1
- 0
src/components/LoadingScreen.vue View File

@@ -33,5 +33,6 @@ export default {
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 1;
}
</style>

+ 0
- 1
src/components/TravelForm.vue View File

@@ -108,7 +108,6 @@ export default {
return date.toJSON().slice(0, 10);
},
saveTravel(data) {
console.log(data);
if (this.travelData.id) {
this.$root.directusClient
.updateItem('travel', this.travelData.id, data)

+ 1
- 1
src/views/Edit.vue View File

@@ -23,8 +23,8 @@ export default {
if (response.data.length === 0) {
throw new Error();
}
this.travelFetched = true;
this.travel = response.data[0];
this.travelFetched = true;
})
.catch(() => {
this.$root.$emit('notify', 'Could not find traveldata');

Loading…
Cancel
Save