Browse Source

data: Added op text for move-in, move-out and tag, added fallback to ID for untitled chapters.

1.2 1.2.1
Gisle Aune 6 years ago
parent
commit
c28f17abdd
  1. 5
      marko/page/data/components/change/component.js

5
marko/page/data/components/change/component.js

@ -65,7 +65,7 @@ module.exports = class {
this.state.operation += " chapter"
this.state.links = [{
text: chapter.title,
text: chapter.title || `Untitled chapter (${chapterKey.id})`,
href: `/story/${storyKey.id}#${chapterKey.id}`,
}]
@ -112,4 +112,7 @@ const opText = {
move: "moved",
edit: "edited",
import: "imported",
tag: "tagged",
"move-in": "moved in",
"move-out": "moved-out",
}
Loading…
Cancel
Save