Update session listing to show type or platform

bug/bundler_fix
OJ 2016-10-29 12:46:11 +10:00
parent 6364e93ece
commit 9e3960f334
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
1 changed files with 5 additions and 1 deletions

View File

@ -546,7 +546,11 @@ class ReadableText
row = []
row << session.sid.to_s
row << session.type.to_s
row[-1] << (" " + session.platform) if session.respond_to?(:platform)
if session.respond_to?(:session_type)
row[-1] << (" " + session.session_type)
elsif session.respond_to?(:platform)
row[-1] << (" " + session.platform)
end
if show_extended
if session.respond_to?(:last_checkin) && session.last_checkin