Skip to content
Snippets Groups Projects
Commit 6ff5a3cc authored by chris's avatar chris Committed by john
Browse files

comments--> not disaplying comments pane

parent 68308777
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,9 @@ import { ...@@ -12,8 +12,9 @@ import {
SubscriptPackage, SubscriptPackage,
SuperscriptPackage, SuperscriptPackage,
SwitchTextTypePackage, SwitchTextTypePackage,
SpellCheckPackage, SpellCheckPackage
CodeblockPackage // ListPackage
// CodeblockPackage
} from 'substance' } from 'substance'
// My Elements // My Elements
...@@ -48,15 +49,15 @@ let config = { ...@@ -48,15 +49,15 @@ let config = {
config.import(CodePackage) config.import(CodePackage)
config.import(PersistencePackage) config.import(PersistencePackage)
// config.import(CodeblockPackage)
config.import(CommentPackage)
config.import(ExtractPackage)
config.import(ImagePackage)
config.import(LinkPackage) config.import(LinkPackage)
config.import(SpellCheckPackage)
config.import(ListPackage) config.import(ListPackage)
config.import(CodeblockPackage)
config.import(ExtractPackage)
config.import(NotePackage) config.import(NotePackage)
config.import(SourceNotePackage) config.import(SourceNotePackage)
config.import(ImagePackage) config.import(SpellCheckPackage)
config.import(CommentPackage)
config.import(TrackChangePackage) config.import(TrackChangePackage)
} }
} }
......
...@@ -15,8 +15,7 @@ class CommentBox extends Component { ...@@ -15,8 +15,7 @@ class CommentBox extends Component {
// TODO -- fix class names // TODO -- fix class names
render ($$) { render ($$) {
const {active, entry} = this.props const { active, entry } = this.props
let comments = this.props.comments.data let comments = this.props.comments.data
if (!active) { if (!active) {
......
...@@ -67,6 +67,7 @@ class CommentsProvider extends TocProvider { ...@@ -67,6 +67,7 @@ class CommentsProvider extends TocProvider {
// runs when document session is updated // runs when document session is updated
updateActiveEntry () { updateActiveEntry () {
console.log('updateActiveEntry')
const activeEntry = this.getActiveEntry() const activeEntry = this.getActiveEntry()
const selectionContainsComments = this.selectionContainsComments() const selectionContainsComments = this.selectionContainsComments()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment