mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
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:
parent
233eb91be4
commit
bde23a44f8
2 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue