Skip to content

Commit

Permalink
fix ts and add tsc to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Dec 16, 2023
1 parent af1faac commit dd47752
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint-format-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- name: run check
run: yarn check

- name: compile ts
run: yarn tsc

- name: create .env
run: cp .env.example .env

Expand Down
15 changes: 9 additions & 6 deletions src/lib/map/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1006,12 +1006,15 @@ ${

if ((description || note) && element.tags && element.tags.name) {
const infoContainer = popupContainer.querySelector('#info');
new InfoTooltip({
target: infoContainer,
props: {
tooltip: description || note
}
});

if (infoContainer) {
new InfoTooltip({
target: infoContainer,
props: {
tooltip: description || note
}
});
}
}

const showMoreDiv = popupContainer.querySelector('#show-more');
Expand Down

0 comments on commit dd47752

Please sign in to comment.