Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1, #10, #45, #62, #83 #97

Merged
merged 7 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed codacy
  • Loading branch information
cweitat committed Sep 4, 2023
commit d30754fad437bb0364b02711083042f9ab1041e8
3 changes: 2 additions & 1 deletion src/stores/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export const useNavbarStore = defineStore('navbar', () => {
}
// find station name
const station = stationsStore.eventStations.find(
(station) => station.id === parseInt(route.params.stationId)
// provide base for parse Int
(station) => station.id === parseInt(route.params.stationId, 10)
)
if (!station) {
return ''
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
base: './',
plugins: [
vue(),
],
Expand Down