Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/features/help/components/HelpDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
const showDrawer: Ref<boolean> = ref(false);

async function loadMarkdown(): Promise<string> {
const markdownFiles = import.meta.glob("@/assets/help/*.md", {
const markdownFiles = import.meta.glob("@/assets/help/en_US/*.md", {
query: "?raw",
import: "default",
}) as Record<string, () => Promise<string>>;

const path = `/src/assets/help/${props.fileName}.md`;
const path = `/src/assets/help/en_US/${props.fileName}.md`;
const loader = markdownFiles[path];
if (!loader)
throw new Error(`Markdown file "${props.fileName}" not found.`);
Expand Down
Loading