merge conflicts
parent
c3244bdf99
commit
1b256e9d99
|
|
@ -7,17 +7,6 @@ import KennzahlenTable from "../components/KennzahlenTable";
|
||||||
import PDFViewer from "../components/pdfViewer";
|
import PDFViewer from "../components/pdfViewer";
|
||||||
import { kpiQueryOptions, settingsQueryOptions } from "../util/query";
|
import { kpiQueryOptions, settingsQueryOptions } from "../util/query";
|
||||||
|
|
||||||
// SETTINGS von KennzahlenTable component (mock)
|
|
||||||
const SETTINGS = [
|
|
||||||
{ name: "Rendite", position: 1, active: true, mandatory: true },
|
|
||||||
{ name: "Ausschüttungsrendite", position: 2, active: true, mandatory: true },
|
|
||||||
{ name: "Laufzeit", position: 3, active: true, mandatory: true },
|
|
||||||
{ name: "Länderallokation", position: 4, active: true, mandatory: true },
|
|
||||||
{ name: "Managmentgebühren", position: 5, active: true, mandatory: true },
|
|
||||||
{ name: "Risikoprofil", position: 6, active: false, mandatory: true },
|
|
||||||
{ name: "Irgendwas", position: 7, active: true, mandatory: true },
|
|
||||||
];
|
|
||||||
|
|
||||||
export const Route = createFileRoute("/extractedResult/$pitchBook")({
|
export const Route = createFileRoute("/extractedResult/$pitchBook")({
|
||||||
component: ExtractedResultsPage,
|
component: ExtractedResultsPage,
|
||||||
loader: ({ context: { queryClient }, params: { pitchBook } }) =>
|
loader: ({ context: { queryClient }, params: { pitchBook } }) =>
|
||||||
|
|
@ -45,7 +34,7 @@ function ExtractedResultsPage() {
|
||||||
const { data: settings } = useSuspenseQuery(settingsQueryOptions());
|
const { data: settings } = useSuspenseQuery(settingsQueryOptions());
|
||||||
|
|
||||||
const prepareClipboardData = () => {
|
const prepareClipboardData = () => {
|
||||||
const activeSettings = SETTINGS
|
const activeSettings = settings
|
||||||
.filter(setting => setting.active)
|
.filter(setting => setting.active)
|
||||||
.sort((a, b) => a.position - b.position);
|
.sort((a, b) => a.position - b.position);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue