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
|
if @model.item?.description?.length > 0
|
||||||
@_descriptionController.model = @model.item.description
|
@_descriptionController.model = @model.item.description
|
||||||
@_descriptionController.resetToDefaultState()
|
@_descriptionController.resetToDefaultState()
|
||||||
@show @$descriptionSection
|
|
||||||
else if @user?
|
|
||||||
@show @$descriptionSection
|
|
||||||
else
|
|
||||||
@hide @$descriptionSection
|
|
||||||
|
|
||||||
_refreshRecipes: ->
|
_refreshRecipes: ->
|
||||||
@_recipeControllers ?= []
|
@_recipeControllers ?= []
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
h2 Recipes
|
h2 Recipes
|
||||||
.panel
|
.panel
|
||||||
|
|
||||||
.description.section.hideable.hidden
|
.description.section
|
||||||
h2 Description
|
h2 Description
|
||||||
.panel.markdown
|
.panel.markdown
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user