Converted DeletePostModal to React-Bootstrap

Этот коммит содержится в:
hmhealey
2015-11-13 12:20:33 -05:00
родитель 7b01528d17
Коммит a4267471a5
11 изменённых файлов: 140 добавлений и 97 удалений

Просмотреть файл

@@ -1232,3 +1232,12 @@ export function getChannelTerm(channelType) {
return channelTerm;
}
export function getPostTerm(post) {
let postTerm = 'Post';
if (post.root_id) {
postTerm = 'Comment';
}
return postTerm;
}