[ui] fix a8s init bug on detail switch
parent
22a97c65d3
commit
55b6a8499e
|
@ -77,7 +77,9 @@
|
||||||
let a8sLinkAddress: string;
|
let a8sLinkAddress: string;
|
||||||
|
|
||||||
async function loaded() {
|
async function loaded() {
|
||||||
|
if (imageLoaded) return;
|
||||||
imageLoaded = true;
|
imageLoaded = true;
|
||||||
|
|
||||||
const { Annotorious } = await import("@recogito/annotorious");
|
const { Annotorious } = await import("@recogito/annotorious");
|
||||||
|
|
||||||
anno = new Annotorious({
|
anno = new Annotorious({
|
||||||
|
|
Loading…
Reference in New Issue