Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnyder committed Nov 17, 2023
1 parent f2f97cf commit 93bdf17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/Image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ module.exports = {
: this.currentItem.url
: null
},
currentItemSourceHash() { return this.currentItemSource ? this.sha256(this.currentItemSource).slice(0,8) : '' },
currentItemSourceHash() {
let hash = this.currentItemSource ? this.sha256(this.currentItemSource).slice(0,8) : ''
console.log(`currentItemSource=${this.currentItemSource} hash=${hash}`)
return hash
},
annosUrl() { return `${this.contentSource.assetsBaseUrl || this.contentSource.baseUrl}/${this.mdDir}${this.currentItemSourceHash}.json` },
target() {
if (this.currentItem.target) {
Expand Down

0 comments on commit 93bdf17

Please sign in to comment.