mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
Reduce complexity by removing unused code branch
This commit is contained in:
@@ -8,8 +8,4 @@ Darkswarm.directive "pageView", ->
|
||||
scope.template = null
|
||||
|
||||
ctrl.registerSelectionListener (prefix, selection) ->
|
||||
if selection?
|
||||
selection = "#{prefix}/#{selection}" if prefix?
|
||||
scope.template = "#{selection}.html"
|
||||
else
|
||||
scope.template = null
|
||||
scope.template = "#{prefix}/#{selection}.html"
|
||||
|
||||
Reference in New Issue
Block a user