While logged out, navigate to chapter page chapters/{id}. Action buttons (ie. Join chapter) are not visible.
Press login.
After login action buttons are still not visible.
chapterPage uses chapterUser query, which doesn't get refetched on login. It returns chapterUser for a specific chapterId, so it might not be too feasible to refetch all chapter users for user. Some option could be using user_chapters in the meQuery, however that needs at least modifying query to get name of the chapter role.
Describe the bug:
chapters/{id}
. Action buttons (ie. Join chapter) are not visible.chapterPage uses
chapterUser
query, which doesn't get refetched on login. It returnschapterUser
for a specificchapterId
, so it might not be too feasible to refetch all chapter users for user. Some option could be usinguser_chapters
in themeQuery
, however that needs at least modifying query to get name of the chapter role.