Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 713e553

Browse files
committed
Merge branch '534-fr-css-tweaks-to-match-new-obsidian-theme'
2 parents 5e8627b + e66aaa7 commit 713e553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parsers/NormalizeRowsToCSV.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Row } from "@tanstack/react-table"
22
import { LabelKeyObject } from "react-csv/components/CommonPropTypes";
33
import { RowDataType, TableColumn } from "cdm/FolderModel";
44
import { MetadataColumns } from "helpers/Constants";
5-
import { getNormalizedPath } from "helpers/VaultManagement";
5+
import { Link } from "obsidian-dataview";
66

77
export const normalizeRowsToCsvData = (rows: Row<RowDataType>[]): object[] => {
88
// Filter out empty rows
@@ -16,7 +16,7 @@ function sanitizeDataCSV(rows: Row<RowDataType>[]): object[] {
1616
switch (cellKey) {
1717
case MetadataColumns.FILE:
1818
rowObject = updateFromPartial(rowObject, {
19-
[cellKey]: getNormalizedPath(cellValue).alias
19+
[cellKey]: (cellValue as Link).fileName()
2020
});
2121
break;
2222
default:

0 commit comments

Comments
 (0)