Fixes at the end
Let's have a look at the following fixes:
- Fix—switch board from menu does not work: The implementation ofÂ
BoardPage.vue
doesn't work when we switch boards from theBoards
menu in the header. The cause of the issue is that we only load the board when we enter the router. After that, switching boards using the Board menu doesn't really trigger the router entering, instead, it triggers an update to the router. The fix is to move the logic for loading the board data into a standalone method and invoke it from both thebeforeRouteEnter()
navigation guard and thebeforeRouteUpdate()
navigation guard:
Figure 12.11: Fix switch board from menu not work commit
- Fix—add missing mapping of the boardpage:
Figure 12.12: Fix add missing mapping of board page commit