Skip to content

Commit

Permalink
Update LargeImageDropdown.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunrajlab committed Jan 24, 2025
1 parent 863c92b commit cfd7841
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/LargeImageDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ import { Vue, Component, Watch } from "vue-property-decorator";
import store from "@/store";
import { IGirderLargeImage } from "@/girder";
import { DEFAULT_LARGE_IMAGE_SOURCE } from "@/girder/index";
import { logError } from "@/utils/log";
@Component
export default class LargeImageDropdown extends Vue {
Expand Down Expand Up @@ -157,6 +158,8 @@ export default class LargeImageDropdown extends Vue {
);
if (image) {
this.store.updateCurrentLargeImage(image);
} else {
logError("LargeImageDropdown", "Current large image not found");
}
}
}
Expand Down

0 comments on commit cfd7841

Please sign in to comment.