mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Use scratchteam instead of is_staff
This commit is contained in:
parent
c257379846
commit
61947f2390
1 changed files with 2 additions and 2 deletions
|
@ -112,7 +112,7 @@ class Comment extends React.Component {
|
|||
className="username"
|
||||
href={`/users/${author.username}`}
|
||||
>
|
||||
{author.username}{author.is_staff ? '*' : ''}
|
||||
{author.username}{author.scratchteam ? '*' : ''}
|
||||
</a>
|
||||
<div className="action-list">
|
||||
{visible ? (
|
||||
|
@ -216,7 +216,7 @@ Comment.propTypes = {
|
|||
author: PropTypes.shape({
|
||||
id: PropTypes.number,
|
||||
image: PropTypes.string,
|
||||
is_staff: PropTypes.bool,
|
||||
scratchteam: PropTypes.bool,
|
||||
username: PropTypes.string
|
||||
}),
|
||||
canDelete: PropTypes.bool,
|
||||
|
|
Loading…
Reference in a new issue