[home] Stricter check for activeEntry existence
@@ -630,7 +630,7 @@ from desktop.views import _ko
</ul>
</div>
</h4>
- <div class="doc-browser-folder-actions" data-bind="visible: activeEntry && !activeEntry().hasErrors()">
+ <div class="doc-browser-folder-actions" data-bind="visible: activeEntry && activeEntry() && !activeEntry().hasErrors()">
<!-- ko if: searchVisible -->
<div class="doc-browser-action doc-browser-search-container"><input class="clearable" type="text" placeholder="${ _('Search for name, description, etc...') }" data-bind="hasFocus: searchFocus, textInput: searchQuery, clearable: searchQuery"></div>
<!-- /ko -->
