Debian Codegraph @

frontend/src/reports/options/Options.svelte

raw
1 <script lang="ts">
2 import { urlFor } from "../../helpers";
3 import { _ } from "../../i18n";
4 import type { OptionsReportProps } from ".";
5 import OptionsTable from "./OptionsTable.svelte";
6
7 let { fava_options, beancount_options }: OptionsReportProps = $props();
8 </script>
9
10 <h2>
11 {_("Fava options")}
12 <a href={$urlFor("help/options")}>({_("help")})</a>
13 </h2>
14 <OptionsTable options={fava_options} />
15
16 <h2>{_("Beancount options")}</h2>
17 <OptionsTable options={beancount_options} />