| @@ -139,14 +139,21 @@ | ||
| 139 | 139 | |
| 140 | 140 | // Handle Top Bar visibility on initiation: Indicate that the admin top bar is visible and the page content needs to push down below the admin top bar for visibility. |
| 141 | 141 | (0, _react.useEffect)(function () { |
| 142 | 142 | var adminTopBarElement = document.querySelector('#e-admin-top-bar-root'); |
| 143 | - adminTopBarElement === null || adminTopBarElement === void 0 || adminTopBarElement.classList.add('e-admin-top-bar--active'); | |
| 144 | - adminTopBarElement === null || adminTopBarElement === void 0 || adminTopBarElement.classList.add('e-admin-top-bar--editor-one'); | |
| 143 | + adminTopBarElement.classList.add('e-admin-top-bar--active'); | |
| 145 | 144 | }, []); |
| 146 | 145 | |
| 147 | 146 | // Handle the page title visibility in admin top bar. |
| 148 | 147 | var pageTitleText = (0, _usePageTitle.usePageTitle)(); |
| 148 | + | |
| 149 | + // Handle the action buttons visibility in admin top bar on initiation. | |
| 150 | + (0, _react.useEffect)(function () { | |
| 151 | + var actionButtonElements = document.querySelectorAll('.page-title-action'); | |
| 152 | + actionButtonElements.forEach(function (actionButtonElement) { | |
| 153 | + actionButtonsRef.current.appendChild(actionButtonElement); | |
| 154 | + }); | |
| 155 | + }, []); | |
| 149 | 156 | var finderAction = function finderAction() { |
| 150 | 157 | $e.route('finder'); |
| 151 | 158 | }; |
| 152 | 159 | var controlSign = _environment.default.mac ? "\u2318" : '^'; |
| @@ -263,9 +270,9 @@ | ||
| 263 | 270 | className: "e-admin-top-bar__heading" |
| 264 | 271 | }, /*#__PURE__*/_react.default.createElement("div", { |
| 265 | 272 | className: "e-logo-wrapper" |
| 266 | 273 | }, /*#__PURE__*/_react.default.createElement("i", { |
| 267 | - className: "eicon-elementor-circle", | |
| 274 | + className: "eicon-elementor", | |
| 268 | 275 | "aria-hidden": "true" |
| 269 | 276 | })), /*#__PURE__*/_react.default.createElement("span", { |
| 270 | 277 | className: "e-admin-top-bar__heading-title" |
| 271 | 278 | }, props.children)); |