Bug 38010: (QA follow-up) Move island hydration to container wrapper

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Matt Blenkinsop 2025-04-22 11:19:55 +01:00 committed by Katrin Fischer
parent bbbf71f971
commit 88b7598b73
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
3 changed files with 7 additions and 9 deletions

View File

@ -21,10 +21,3 @@
marcorderautomation="[% Koha.Preference('MarcOrderingAutomation') | html %]"
marcordermanage="[% CAN_user_acquisition_marc_order_manage | html %]"
></acquisitions-menu>
[% SET islands = Asset.js("js/vue/dist/islands.esm.js").match('(src="([^"]+)")').1 %] <script src="[% islands %]" type="module">
</script>
<script type="module">
import { hydrate } from "[% islands %]";
hydrate();
</script>

View File

@ -1,4 +1,5 @@
[% USE raw %]
[% USE Asset %]
<div class="main container-fluid">
<div class="row">
[% IF aside && !asides %]
@ -82,3 +83,9 @@
[% END %]
</div>
</div>
[% SET islands = Asset.js("js/vue/dist/islands.esm.js").match('(src="([^"]+)")').1 %] <script src="[% islands %]" type="module">
</script>
<script type="module">
import { hydrate } from "[% islands %]";
hydrate();
</script>

View File

@ -11,5 +11,3 @@
contractsmanage="[% CAN_user_acquisition_contracts_manage | html %]"
issuemanage="[% CAN_user_acquisition_issue_manage | html %]"
></vendor-menu>
[% Asset.js("js/vue/dist/islands.js", "init" => "1") | $raw %]