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 -->
|
<!-- Export -->
|
||||||
<aside id="download-form">
|
<aside id="download-form">
|
||||||
{% set currentTag = '' %}
|
{% set currentTag = null %}
|
||||||
{% if tag is defined %}
|
{% if tag is defined %}
|
||||||
{% set currentTag = tag %}
|
{% set currentTag = tag %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
<!-- Export -->
|
<!-- Export -->
|
||||||
<div id="export" class="side-nav right-aligned">
|
<div id="export" class="side-nav right-aligned">
|
||||||
{% set currentTag = '' %}
|
{% set currentTag = null %}
|
||||||
{% if tag is defined %}
|
{% if tag is defined %}
|
||||||
{% set currentTag = tag.slug %}
|
{% set currentTag = tag.slug %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user