vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
792 stars 265 forks source link

fix(xo-6): add comments in host and pool pages to fix Vite build #7878

Closed OlivierFL closed 3 months ago

OlivierFL commented 3 months ago

Description

The components /host/[id]/index.vue and pool/[id]/index.vue only use definePage() macro. The macro is removed during the build, leaving an empty script tag that causes the build to fail. This PR addresses this issue by adding a comment in the components to avoid empty content in <script> tags at build time.

Checklist