Skip to content

Commit

Permalink
drag/drop compare mode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Apr 23, 2024
1 parent 37c9000 commit 27e183e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/plugins/matrix/MatrixViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ const MyComponent = defineComponent({
async compareToBase(base: ComparisonMatrix) {
console.log('COMPARE', base)
// drag/drop mode, no "root" filesystem. Just set this as base.
if (base.root === '') {
this.h5DiffBuffer = this.h5buffer
return
}
try {
const path = `${base.subfolder}/${base.filename}`
this.statusText = `Loading: ${base.filename}...`
Expand Down

0 comments on commit 27e183e

Please sign in to comment.