You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2019/05/02 18:41:15 UTC

[whimsy] branch master updated: Fix display of multiselect

This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c205ab  Fix display of multiselect
5c205ab is described below

commit 5c205ab2a8b2239938481d9e8e73fd67f33469b6
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Thu May 2 14:41:07 2019 -0400

    Fix display of multiselect
---
 www/members/mentors.cgi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/members/mentors.cgi b/www/members/mentors.cgi
index 645138d..de9a180 100755
--- a/www/members/mentors.cgi
+++ b/www/members/mentors.cgi
@@ -95,6 +95,7 @@ _html do
                           _span.text_primary uimap.has_key?(k) ? "#{uimap[k][0]}" : "#{k}"
                         end
                         _td!.text_left do
+                          v = v.join(', ') if v.kind_of?(Array)
                           _markdown v
                         end
                       end