Added short key component
This commit is contained in:
parent
776b3d8a29
commit
459cc3b53f
|
|
@ -85,6 +85,13 @@ const SalesCountComponent = React.memo(
|
||||||
type?.PreferredSubCatName?.toLowerCase() === 'take away' &&
|
type?.PreferredSubCatName?.toLowerCase() === 'take away' &&
|
||||||
type?.PreferredStatus === 'Y'
|
type?.PreferredStatus === 'Y'
|
||||||
);
|
);
|
||||||
|
const preferenceshortcutkey = preferencedata?.[0]?.[
|
||||||
|
'SettingDtlDetails'
|
||||||
|
]?.some(
|
||||||
|
(item) =>
|
||||||
|
item.SettingIdName.toLowerCase() === 'shortcutkeys' &&
|
||||||
|
item.SettingValue === 'Y'
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
const [messageType, setMessageType] = useState(null);
|
const [messageType, setMessageType] = useState(null);
|
||||||
|
|
@ -1085,6 +1092,11 @@ const SalesCountComponent = React.memo(
|
||||||
)}
|
)}
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
{/* {preferenceshortcutkey && <ShortcutKeyHelper />} */}
|
||||||
|
{preferenceshortcutkey && (
|
||||||
|
<div className="keyboardShortcut">
|
||||||
|
<ShortcutKeyHelper />
|
||||||
|
</div>)}
|
||||||
<AllSalesPageSettings />
|
<AllSalesPageSettings />
|
||||||
<ProductPriceChange />
|
<ProductPriceChange />
|
||||||
<ReceivedStocksModal
|
<ReceivedStocksModal
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue