Bug 26207: (follow-up) Hide comparison toolbar if there are no comparisons
authorOwen Leonard <oleonard@myacpl.org>
Mon, 28 Sep 2020 11:09:01 +0000 (11:09 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Oct 2020 08:32:15 +0000 (10:32 +0200)
commitd3619c88cdaa093e53e1d9f9b15dad0db0c39ba4
tree9be217764ae40c537842c957d59d4024293d2624
parent574e2e80eb0f57838a548f42a0689aa2979b5745
Bug 26207: (follow-up) Hide comparison toolbar if there are no comparisons

This patch adds a check to the JavaScript so that the comparisons
toolbar will be hidden if there are no system preferences in the results
to compare.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/js/viewlog.js