You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a2f545b
Browse filesBrowse the repository at this point in the historyBrowse files
removed some console logs as they are not needed anymore. added a test to see if a user could update another users profile afer updating firebase security rules this is functional also a user cannot update an event they are not the host of. users can still view events and other profiles. added await to the setMainPhoto function and a few other functions so that we get a toast if it fails instead of a error on the screen or a blank page for the user. Also adjusted firestore rules to allow the user to change their photo
constbuttonDisplayed=isCurrentUser||isFollowing;// if its not the current user then thats false if not folowing thats false result is false returns false
9
-
//if we are following buttonDisplayed will equal true
0 commit comments