diff --git a/core/ui/ImportListing.tid b/core/ui/ImportListing.tid index 76b95c7c40..86dba83c81 100644 --- a/core/ui/ImportListing.tid +++ b/core/ui/ImportListing.tid @@ -49,26 +49,22 @@ title: $:/core/ui/ImportListing \end \whitespace trim -<$let importJson={{{ [{$:/Import}] }}}> - <$let importTitles={{{ [jsonindexes[tiddlers]] }}}> - <$let importTypes={{{ [(importTitles)] :map[jsonget[tiddlers],,[type]] }}}> - <$let anyMatch={{{ [all[shadows+tiddlers]tag[$:/tags/ImportOptions]get[condition]] :map[(importTypes)subfilter] +[!is[blank]limit[1]] }}}> - <%if [!is[blank]] %> -
- <$list filter="[all[shadows+tiddlers]tag[$:/tags/ImportOptions]]" variable="importOption"> - <$let condition={{{ [get[condition]] }}}> - <$let hasMatch={{{ [(importTypes)subfilterlimit[1]] }}}> - <%if [!is[blank]] %> - <$transclude tiddler=<>/> - <%endif%> - - - -
- <%endif%> - - - +<$let importJson={{{ [{$:/Import}] }}} + importTitles={{{ [jsonindexes[tiddlers]] }}} + importTypes={{{ [(importTitles)] :map[jsonget[tiddlers],,[type]] }}} + anyMatch={{{ [all[shadows+tiddlers]tag[$:/tags/ImportOptions]get[condition]] :map[(importTypes)subfilter] +[!is[blank]limit[1]] }}}> + <%if [!is[blank]] %> +
+ <$list filter="[all[shadows+tiddlers]tag[$:/tags/ImportOptions]]" variable="importOption"> + <$let condition={{{ [get[condition]] }}} + hasMatch={{{ [(importTypes)subfilterlimit[1]] }}}> + <%if [!is[blank]] %> + <$transclude tiddler=<>/> + <%endif%> + + +
+ <%endif%>