Compare commits
No commits in common. "c2b9dcd277c7ec5ea29c81141fce5707af9a403a" and "1744d488893ac0e229aae40cd3e4ee03ca3ecc5b" have entirely different histories.
c2b9dcd277
...
1744d48889
|
@ -215,9 +215,7 @@ export default {
|
|||
cornerstone.loadAndCacheImage(this.stack.imageIds[this.stack.currentImageIdIndex])
|
||||
.then(image => {
|
||||
this.loading = false
|
||||
if (this.stack.imageIds.indexOf(image.imageId) !== -1) {
|
||||
this.onFirstImageLoaded(image)
|
||||
}
|
||||
this.onFirstImageLoaded(image)
|
||||
}).catch((error) => {
|
||||
this.loading = false
|
||||
if (error.error && error.error.message) {
|
||||
|
|
|
@ -1113,9 +1113,7 @@ export default {
|
|||
this.loading = true
|
||||
cornerstone.loadAndCacheImage(this.stack.imageIds[this.stack.currentImageIdIndex])
|
||||
.then(async image => {
|
||||
if (this.stack.imageIds.indexOf(image.imageId) !== -1) {
|
||||
await scope.onFirstImageLoaded(image)
|
||||
}
|
||||
await scope.onFirstImageLoaded(image)
|
||||
scope.loading = false
|
||||
resolve()
|
||||
})
|
||||
|
|
|
@ -1088,9 +1088,7 @@ export default {
|
|||
this.loading = true
|
||||
cornerstone.loadAndCacheImage(this.stack.imageIds[this.stack.currentImageIdIndex])
|
||||
.then(async image => {
|
||||
if (this.stack.imageIds.indexOf(image.imageId) !== -1) {
|
||||
await scope.onFirstImageLoaded(image)
|
||||
}
|
||||
await scope.onFirstImageLoaded(image)
|
||||
scope.loading = false
|
||||
resolve()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue