ui-soxo-bootstrap-core 2.6.27 → 2.6.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,7 +21,6 @@ import { Button } from '../../elements';
|
|
|
21
21
|
|
|
22
22
|
import GenericHeader from '../header/generic-header';
|
|
23
23
|
|
|
24
|
-
import * as AntIcons from '@ant-design/icons';
|
|
25
24
|
|
|
26
25
|
import { CustomerServiceOutlined, MenuOutlined, SettingOutlined, UserOutlined } from '@ant-design/icons';
|
|
27
26
|
|
|
@@ -263,16 +262,16 @@ function GlobalHeaderContent({ loading, appSettings, children, isConnected, hist
|
|
|
263
262
|
{/* Help-desk-btn */}
|
|
264
263
|
{helpDeskSetting?.showSupportBtn
|
|
265
264
|
? (() => {
|
|
266
|
-
const HelpIcon = AntIcons[helpDeskSetting?.icon] ?? CustomerServiceOutlined;
|
|
267
265
|
return (
|
|
268
266
|
<Tooltip title={helpDeskSetting?.toolTipText} overlayClassName="modern-tooltip">
|
|
269
267
|
<span>
|
|
270
268
|
<Button
|
|
271
269
|
onClick={() => window.open(helpDeskSetting?.helpDeskLink ?? '', '_blank')}
|
|
272
|
-
icon={<HelpIcon />}
|
|
273
270
|
type="default"
|
|
274
271
|
size="small"
|
|
275
|
-
|
|
272
|
+
>
|
|
273
|
+
{helpDeskSetting?.buttonText || 'Help'}
|
|
274
|
+
</Button>
|
|
276
275
|
</span>
|
|
277
276
|
</Tooltip>
|
|
278
277
|
);
|