We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f99f913 commit 50a30eeCopy full SHA for 50a30ee
1 file changed
lib/facets.rb
@@ -9,7 +9,7 @@ module Facets
9
start: ->(c) { c.name == 'Event' },
10
running_during: ->(c) { c.name == 'Event' },
11
include_hidden: ->(c) { c.method_defined?(:user_requires_approval?) },
12
- across_all_spaces: ->(_) { TeSS::Config.feature['spaces'] }
+ across_all_spaces: ->(c) { TeSS::Config.feature['spaces'] && c.method_defined?(:space_id) }
13
}.with_indifferent_access.freeze
14
15
CONVERSIONS = {
0 commit comments