From cb72b2f9066279f45802fb947fa504d274f8512e Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 17 Oct 2024 23:23:25 +0300 Subject: [PATCH] categories: no force top bar --- client/src/views/list-with-categories.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/src/views/list-with-categories.js b/client/src/views/list-with-categories.js index 33694c1936..24a7618097 100644 --- a/client/src/views/list-with-categories.js +++ b/client/src/views/list-with-categories.js @@ -761,6 +761,12 @@ class ListWithCategories extends ListView { this.loadNestedCategories(); } + + prepareRecordViewOptions(options) { + super.prepareRecordViewOptions(options); + + options.forceDisplayTopBar = false; + } } export default ListWithCategories;