fix(onboarding): fix widget links, isComplete logic, and event slugs
Use dynamic href for external links, check completedAt for graduation, link events by slug instead of _id, and remove stale click handler.
This commit is contained in:
parent
50a358b294
commit
e791a0d480
3 changed files with 8 additions and 8 deletions
|
|
@ -233,7 +233,7 @@ describe('useOnboarding', () => {
|
|||
})
|
||||
|
||||
expect(currentSuggestion.value.key).toBe('wiki')
|
||||
expect(currentSuggestion.value.action).toBeNull()
|
||||
expect(currentSuggestion.value.action).toBe('https://wiki.ghostguild.org')
|
||||
expect(currentSuggestion.value.isExternal).toBe(true)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue