|
|
|
@ -19,7 +19,6 @@ |
|
|
|
import { publicationColumnVisibility } from "$lib/stores"; |
|
|
|
import { publicationColumnVisibility } from "$lib/stores"; |
|
|
|
import BlogHeader from "$components/cards/BlogHeader.svelte"; |
|
|
|
import BlogHeader from "$components/cards/BlogHeader.svelte"; |
|
|
|
import Interactions from "$components/util/Interactions.svelte"; |
|
|
|
import Interactions from "$components/util/Interactions.svelte"; |
|
|
|
import { pharosInstance } from '$lib/parser'; |
|
|
|
|
|
|
|
import type { SveltePublicationTree } from "./svelte_publication_tree.svelte"; |
|
|
|
import type { SveltePublicationTree } from "./svelte_publication_tree.svelte"; |
|
|
|
import TableOfContents from "./TableOfContents.svelte"; |
|
|
|
import TableOfContents from "./TableOfContents.svelte"; |
|
|
|
|
|
|
|
|
|
|
|
@ -153,9 +152,6 @@ |
|
|
|
observer.disconnect(); |
|
|
|
observer.disconnect(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// Whenever the publication changes, update rootId |
|
|
|
|
|
|
|
let rootId = $derived($pharosInstance.getRootIndexId()); |
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Table of contents --> |
|
|
|
<!-- Table of contents --> |
|
|
|
|