Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Ribiere committed Jan 23, 2024
2 parents 09b5268 + 5228ea6 commit dfb0858
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col h-screen overflow-hidden">
<AppHeader/>
<!-- <AppHeader/> -->
<KeyNumbersMobile/>
<BaseMap/>
</div>
Expand All @@ -20,7 +20,7 @@ import { defineAsyncComponent, defineComponent, onMounted } from "vue"
export default defineComponent({
components: {
AppHeader: defineAsyncComponent(() => import("./components/Header.vue")),
// AppHeader: defineAsyncComponent(() => import("./components/Header.vue")),
AppLegend: defineAsyncComponent(() => import("./components/Legend.vue")),
BaseMap: defineAsyncComponent(() => import("./components/BaseMap.vue")),
HistogramSlider: defineAsyncComponent(() => import("./components/HistogramSlider.vue")),
Expand Down
2 changes: 2 additions & 0 deletions src/classes/OpsData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export const fetchOpsData = async function (): Promise<OpsData[]> {
}
return value
})
// Remove artefacts like empty lines or empty cells
sheet.values = sheet.values.filter(x => x.length > 0).filter(x => x[0] !== "")

return sheet.values.map((value, valueIndex) => {
const newValue: { [key: string]: string } = {}
Expand Down
2 changes: 1 addition & 1 deletion src/components/KeyNumbers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineComponent({

<style scoped>
.position-desktop {
top: 17%;
top: 2%;
right: 1em;
}
</style>
2 changes: 1 addition & 1 deletion src/components/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default defineComponent({
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.position-desktop {
top: 20%;
top: 2%;
margin-left: 3%;
}
</style>

0 comments on commit dfb0858

Please sign in to comment.