mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix given variables being defined in parent context
This commit is contained in:
parent
8b55d9139d
commit
193314d532
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ module Spectator
|
|||
end
|
||||
end
|
||||
|
||||
{% given_vars << {name: var_name, collection: collection, setter: setter} %}
|
||||
\{% ::Spectator::ContextDefinitions::ALL[@type.id][:given] << {name: "{{var_name}}".id, collection: "{{collection}}".id, setter: "{{setter}}".id} %}
|
||||
|
||||
{{block.body}}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue