Skip to content

Commit

Permalink
fix: don't duplicate systemConfig tag if exists already
Browse files Browse the repository at this point in the history
  • Loading branch information
YakovL committed Feb 1, 2024
1 parent d7b035a commit 5eb2ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TiddlerInFilePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ config.macros.external = {
//# what if tiddler already exists?
if(meta.isPlugin) {
// make it look normally
tiddler.tags.push('systemConfig')
tiddler.tags.pushUnique('systemConfig')
const author = store.getTiddlerText(tiddler.title + "::Author")
if(author) {
tiddler.creator = tiddler.creator || author
Expand Down

1 comment on commit 5eb2ae2

@YakovL
Copy link
Owner Author

@YakovL YakovL commented on 5eb2ae2 Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.