QuantEcon / Bookshelf

Code for the site QuantEconLib
1 stars 0 forks source link

Flagging yourself - Uncaught TypeError: e.props.flagUser is not a function #221

Open AtlasMaxima-zz opened 6 years ago

AtlasMaxima-zz commented 6 years ago

Uncaught TypeError: e.props.flagUser is not a function error shows up when users are trying to flag themselves.

We can either remove the flag icon if the user is the current user who is logged in or we can have a modal pop up saying something along the line 'you cannot flag yourself'.