Browse Source

fix load-project function

world-fix
Trent Larson 1 year ago
parent
commit
c40b690878
  1. 1
      project.task.yaml
  2. 2
      src/views/ProjectsView.vue

1
project.task.yaml

@ -3,7 +3,6 @@ tasks:
- allow type annotations in World.js & landmarks.js (since we get this error - "Types are not supported by current JavaScript version")
- replace user-affecting console.log & console.error with error messages (eg. catches)
- if there's no identity, handle it on pages which expect an identity (eg. project -- look for JSON.parse identity calls)
- .1 show an appropriate message when there are no contacts
- 8 Move to vue-facing-decorator

2
src/views/ProjectsView.vue

@ -187,7 +187,7 @@ export default class ProjectsView extends Vue {
/**
* Handle clicking on a project entry found in the list
* @param id of the project
**?
**/
onClickLoadProject(id: string) {
localStorage.setItem("projectId", id);
const route = {

Loading…
Cancel
Save