forked from wallabag/wallabag
Empty currentTag should be null
And when a parameter is null, it won't appear in the url like `?tag=`.
This commit is contained in:
@ -86,7 +86,7 @@
|
||||
|
||||
<!-- Export -->
|
||||
<aside id="download-form">
|
||||
{% set currentTag = '' %}
|
||||
{% set currentTag = null %}
|
||||
{% if tag is defined %}
|
||||
{% set currentTag = tag %}
|
||||
{% endif %}
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
<!-- Export -->
|
||||
<div id="export" class="side-nav right-aligned">
|
||||
{% set currentTag = '' %}
|
||||
{% set currentTag = null %}
|
||||
{% if tag is defined %}
|
||||
{% set currentTag = tag.slug %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user