1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00
This commit is contained in:
Jeremy Ruston 2024-01-26 15:01:07 +00:00
parent 62b2fe3e2f
commit 84c8a9be9b

View File

@ -116,8 +116,8 @@ SqlTiddlerStore.prototype.processOutgoingTiddler = function(tiddlerFields,tiddle
bag: bag_name,
text: undefined,
_canonical_uri: recipe_name
? `/wiki/${recipe_name}/recipes/${recipe_name}/tiddlers/${title}`
: `/wiki/${bag_name}/bags/${bag_name}/tiddlers/${title}`
? `/wiki/${recipe_name}/recipes/${recipe_name}/tiddlers/${tiddlerFields.title}`
: `/wiki/${bag_name}/bags/${bag_name}/tiddlers/${tiddlerFields.title}`
});
} else {
return Object.assign({},tiddlerFields,{