twb 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twb.rb +1 -1
- data/lib/twb/dashboard.rb +4 -1
- metadata +1 -1
data/lib/twb.rb
CHANGED
data/lib/twb/dashboard.rb
CHANGED
@@ -40,7 +40,10 @@ module Twb
|
|
40
40
|
dsheets = @node.xpath('.//zone[@name]').to_a
|
41
41
|
dsheets.each do |sheetNode|
|
42
42
|
sheetname = sheetNode.attr('name')
|
43
|
-
|
43
|
+
# early Tableau versions (e.g. 7), used "name=''" with text and other Dashboard components
|
44
|
+
unless sheetname.eql?('') or sheetname.nil?
|
45
|
+
@sheets[sheetname] = twbworksheets[sheetname]
|
46
|
+
end
|
44
47
|
end
|
45
48
|
end
|
46
49
|
|