Skip to content

Onboarding - Tell uninav to update profile pic after saving a new one #776

@jmgasper

Description

@jmgasper

We can tell the uni nav to update itself after we make changes, which we should do when the photoURL is set after the user uploads a new profile picture.

It looks like this:

tcUniNav('update', '*', {user: 
                email: profile.email,
                firstName: profile.firstName,
                handle: profile.handle,
                lastName: profile.lastName,
                photoUrl: profile.photoURL,
                userId: profile.userId,
})

Note that we make a similar call in the new profiles app when saving work, education, profile pic, etc..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions