Always show the description section on item page
This commit is contained in:
@@ -184,11 +184,6 @@ module.exports = class ItemPageController extends PageController
|
||||
if @model.item?.description?.length > 0
|
||||
@_descriptionController.model = @model.item.description
|
||||
@_descriptionController.resetToDefaultState()
|
||||
@show @$descriptionSection
|
||||
else if @user?
|
||||
@show @$descriptionSection
|
||||
else
|
||||
@hide @$descriptionSection
|
||||
|
||||
_refreshRecipes: ->
|
||||
@_recipeControllers ?= []
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
h2 Recipes
|
||||
.panel
|
||||
|
||||
.description.section.hideable.hidden
|
||||
.description.section
|
||||
h2 Description
|
||||
.panel.markdown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user