diff --git a/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs b/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs index a54e645bc22..a433af1e15d 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/common/custom-section.hbs @@ -17,11 +17,15 @@ @prefixValue={{link.prefixValue}} @href={{link.value}} @class={{link.linkDragCss}} - {{draggable - didStartDrag=link.didStartDrag - didEndDrag=link.didEndDrag - dragMove=link.dragMove - }} + {{(if + this.section.reorderable + (modifier + "draggable" + didStartDrag=link.didStartDrag + didEndDrag=link.didEndDrag + dragMove=link.dragMove + ) + )}} /> {{else}}