Properly refer to dictionary
parent
e4d898a2ff
commit
8d60b1da46
|
@ -45,7 +45,7 @@ module.exports = (plugin, app) => {
|
|||
}
|
||||
|
||||
// make a local copy of our dictionary and remove the current page, if existing
|
||||
let local_dictionary = Object.assign({}, app.dictionary)
|
||||
let local_dictionary = Object.assign({}, app.live.dictionary)
|
||||
delete local_dictionary[crumbs[crumbs.length-1]]
|
||||
let text
|
||||
if (Object.keys(local_dictionary).length !== 0) {
|
||||
|
|
Loading…
Reference in New Issue