From f5f582cc4fb9cdac4502f2807b3a85f9ca5ddc84 Mon Sep 17 00:00:00 2001 From: Northword Date: Wed, 10 Apr 2024 14:56:45 +0800 Subject: [PATCH] fix: file picker cannot select json close: #178 --- CHANGELOG.md | 4 ++++ src/modules/preference.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9e3a8f..0ede5b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- 修复自定义期刊缩写无法选择 JSON 文件的问题。close: [#178](https://github.com/northword/zotero-format-metadata/issues/178) + ## [1.16.3] - 2024-04-03 ### Fixed diff --git a/src/modules/preference.ts b/src/modules/preference.ts index 301dcd9..b4bb852 100644 --- a/src/modules/preference.ts +++ b/src/modules/preference.ts @@ -41,7 +41,7 @@ async function updatePrefsUI() { "open", [ ["CSV File (*.csv)", "*.csv"], - ["JSON File (*.json)", "*.json,"], + ["JSON File (*.json)", "*.json"], ["Any", "*.*"], ], "zotero-format-metadata-custom-abbr-data.csv",