Skip to content

Commit

Permalink
Merge pull request #104 from FdelMazo/fixes
Browse files Browse the repository at this point in the history
Prod fixes
  • Loading branch information
lopezac authored Mar 23, 2024
2 parents 45da42a + 243383b commit ec872c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-latest
name: Build & Deploy to Github Pages
steps:
- id: node-to-gh
uses: fdelmazo/node-to-gh-action@v2
- name: Run tests
run: npm test
shell: bash
- id: node-to-gh
uses: fdelmazo/node-to-gh-action@v2
2 changes: 1 addition & 1 deletion src/DataContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (window.location.hash) {
// Si el usuario tiene una sesión de cuando la aplicación tenía horarios estaticos
// en vez de importados del SIU, le limpiamos la data
const json = JSON.parse(window.localStorage.getItem("fiubaplan"));
if (json["cuatrimestre"]) {
if (json && json["cuatrimestre"]) {
localStorage.setItem("fiubaplan", JSON.stringify({}));
}

Expand Down

0 comments on commit ec872c2

Please sign in to comment.