Skip to content

Commit

Permalink
fix flat()?
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Jul 11, 2021
1 parent ff7b929 commit 1fb4c6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "breadcrumbs",
"name": "Breadcrumbs",
"version": "0.8.11",
"version": "0.8.12",
"minAppVersion": "0.12.7",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail or matrix view",
"author": "SkepticMystic",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "breadcrumbs-plugin",
"version": "0.8.11",
"version": "0.8.12",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/sharedFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function getFields(
// superDebug(settings, (fieldItems?.join(', ') ?? undefined))


const flattenedItems: string[] = (fieldItems.flat().flat()) as string[];
const flattenedItems: string[] = ([fieldItems].flat(5)) as string[];
console.log(flattenedItems)

const links: [] =
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.8.12": "0.12.9",
"0.8.11": "0.12.9",
"0.8.10": "0.12.9",
"0.8.8": "0.12.9",
Expand Down

0 comments on commit 1fb4c6f

Please sign in to comment.