diff options
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r-- | webapp/utils/utils.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index 815e78e53..4e8a05075 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -1170,7 +1170,7 @@ export function clearFileInput(elm) { } export function isPostEphemeral(post) { - return post.type === Constants.POST_TYPE_EPHEMERAL || post.state === Constants.POST_DELETED; + return post.type === Constants.PostTypes.EPHEMERAL || post.state === Constants.POST_DELETED; } export function getRootId(post) { |