Skip to content

fix the planner issue in Planner.vue and format Course.vue(Shift+Alt+F)#55

Open
Supermonters wants to merge 1 commit intomainfrom
planner-fix
Open

fix the planner issue in Planner.vue and format Course.vue(Shift+Alt+F)#55
Supermonters wants to merge 1 commit intomainfrom
planner-fix

Conversation

@Supermonters
Copy link
Contributor

Course.vue
Reformatted the file (Shift + Alt + F) and added one comment above toggleFocus. No functional changes.

Planner.vue
Major updates:

Refactored focus course storage — instead of mutating state.course.focus, now use a local $ref({}) (focusCourses) to store fetched course data.

Added onActivated to re-run fetchData() when the Planner page becomes active again, ensuring it refreshes when new courses are added to the focus list.

@Supermonters
Copy link
Contributor Author

This is my first time working with Vue.js logic, so I welcome any feedback or suggestions. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant