EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
navbar tabs: remove last dividers
Yuri Kuznetsovecf90a394182
diff --git a/client/src/views/site/navbar.js b/client/src/views/site/navbar.jsindex e8b533f34c..4bf396e405 100644--- a/client/src/views/site/navbar.js+++ b/client/src/views/site/navbar.js@@ -1163,6 +1163,22 @@ class NavbarSiteView extends View {return true;});+ if (moreIsMet) {+ let end = this.tabList.length;++ for (let i = this.tabList.length - 1; i >= 0; i --) {+ const item = this.tabList[i];++ if (!this.tabsHelper.isTabDivider(item)) {+ break;+ }++ end = this.tabList.length - 1;+ }++ this.tabList = this.tabList.slice(0, end);+ }+const tabDefsList = [];const colorsDisabled =