Skip to content

Commit ff863ff

Browse files
committed
on frontend, show all airports if filter is empty
1 parent 5801860 commit ff863ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/views/charts.vue

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ const chartLength = computed(() => {
4646
});
4747
4848
const filteredCharts = computed(() => {
49+
if (filter.value == "") {
50+
return Object.keys(store.charts);
51+
}
4952
return Object.keys(store.charts).filter((apt) => {
5053
return filter.value != "" && apt.toLowerCase().includes(filter.value.toLowerCase());
5154
});

0 commit comments

Comments
 (0)