Skip to content

Commit eb1d590

Browse files
committed
Release 1.0.0-7
1 parent 032e9a4 commit eb1d590

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zotero-actions-tags",
3-
"version": "1.0.0-6",
3+
"version": "1.0.0-7",
44
"description": "Action it, tag it, sorted.",
55
"config": {
66
"addonName": "Actions and Tags for Zotero",

src/utils/rules.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function initRules() {
9191
addon.data.rules.data = new ztoolkit.LargePref(
9292
`${config.prefsPrefix}.rules`,
9393
`${config.prefsPrefix}.rules.`,
94-
"parser"
94+
"parser",
9595
).asMapLike() as TagRuleMap;
9696
if (!getPref("rulesInit")) {
9797
for (const key of defaultRules.keys()) {
@@ -132,7 +132,7 @@ async function applyRule(rule: TagRule, data: TagRuleData) {
132132
item?.removeTag(tag);
133133
}
134134
message = `Remove tag ${tags.join(",")} from item ${item?.getField(
135-
"title"
135+
"title",
136136
)}`;
137137
break;
138138
}
@@ -145,7 +145,7 @@ async function applyRule(rule: TagRule, data: TagRuleData) {
145145
}
146146
}
147147
message = `Toggle tag ${tags.join(",")} to item ${item?.getField(
148-
"title"
148+
"title",
149149
)}`;
150150
break;
151151
}

0 commit comments

Comments
 (0)