gui: version.tags is an array, which is truthy when empty

This commit is contained in:
Jakob Borg 2020-12-12 10:34:26 +01:00
parent 0db3b7a530
commit 5565afdd9f

View File

@ -9,7 +9,7 @@
</h1> </h1>
<p class="text-center"> <p class="text-center">
Build {{version.date | date:"yyyy-MM-dd"}} Build {{version.date | date:"yyyy-MM-dd"}}
<span ng-if="version.tags">({{version.tags.join(", ")}})</span> <span ng-if="version.tags.length">({{version.tags.join(", ")}})</span>
<br /> <br />
Copyright &copy; 2014-{{version.date | date:"yyyy"}} the Syncthing Authors. Copyright &copy; 2014-{{version.date | date:"yyyy"}} the Syncthing Authors.
</p> </p>