Skip to content

Commit

Permalink
Release 1.0.0-7
Browse files Browse the repository at this point in the history
  • Loading branch information
windingwind committed Sep 14, 2023
1 parent 032e9a4 commit eb1d590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zotero-actions-tags",
"version": "1.0.0-6",
"version": "1.0.0-7",
"description": "Action it, tag it, sorted.",
"config": {
"addonName": "Actions and Tags for Zotero",
Expand Down
6 changes: 3 additions & 3 deletions src/utils/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function initRules() {
addon.data.rules.data = new ztoolkit.LargePref(
`${config.prefsPrefix}.rules`,
`${config.prefsPrefix}.rules.`,
"parser"
"parser",
).asMapLike() as TagRuleMap;
if (!getPref("rulesInit")) {
for (const key of defaultRules.keys()) {
Expand Down Expand Up @@ -132,7 +132,7 @@ async function applyRule(rule: TagRule, data: TagRuleData) {
item?.removeTag(tag);
}
message = `Remove tag ${tags.join(",")} from item ${item?.getField(
"title"
"title",
)}`;
break;
}
Expand All @@ -145,7 +145,7 @@ async function applyRule(rule: TagRule, data: TagRuleData) {
}
}
message = `Toggle tag ${tags.join(",")} to item ${item?.getField(
"title"
"title",
)}`;
break;
}
Expand Down

0 comments on commit eb1d590

Please sign in to comment.