Skip to content

Commit

Permalink
Add a shim implementation for detail-linked-mask-splitter
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Oct 7, 2024
1 parent 4fd5114 commit 7c40c59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/splitter/DetailLinkedSplitter.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
import { easydbInstanceStore, systemidStore } from "../../lib/stores";
import { A } from "flowbite-svelte";
</script>

Omitting linked objects in this viewer. Look at it in the <A href="{$easydbInstanceStore}/#/details/{$systemidStore.at(-1)}">EasyDB instance</A> instead.
3 changes: 3 additions & 0 deletions src/components/splitter/splitterMapping.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import ChronologyConverterMaskSplitter from "./ChronologyConverterMaskSplitter.svelte";
import DetailLinkedSplitter from "./DetailLinkedSplitter.svelte";
import UbhdIIIFMaskSplitter from "./UBHDIIIFMaskSplitter.svelte";
import UbhdObjMaskSplitter from "./UBHDObjMaskSplitter.svelte";

export const componentMapping = {
"chronology-converter-mask-splitter": ChronologyConverterMaskSplitter,
"detail-linked-mask-splitter": DetailLinkedSplitter,
"ubhd-obj-mask-splitter": UbhdObjMaskSplitter,
"ubhd-iiif-mask-splitter": UbhdIIIFMaskSplitter,
};

export const requiresEndMapping = {
"chronology-converter-mask-splitter": true,
"detail-linked-mask-splitter": false,
"ubhd-obj-mask-splitter": false,
"ubhd-iiif-mask-splitter": false,
}

0 comments on commit 7c40c59

Please sign in to comment.