Updated header and bug fixes
This commit is contained in:
@@ -47,6 +47,19 @@ const MessageSettings = () => {
|
||||
|
||||
return (
|
||||
<Stack w={'100%'}>
|
||||
<SettingsHeader
|
||||
setDragging={undefined}
|
||||
openModal={openModal}
|
||||
title={'Messages'}
|
||||
tooltip={{
|
||||
title: 'These custom messages will be displayed in the header on the homepage.',
|
||||
highlightList: ['$firstName', '$lastName', '$^firstName', '$^lastName'],
|
||||
description:
|
||||
'Built-in variables include $firstName and $lastName. To force the text to upper case, use a carat (^), ie, $^firstName. Messages may contain any unicode text.',
|
||||
}}
|
||||
searchValue={searchValue}
|
||||
setSearchValue={setSearchValue}
|
||||
/>
|
||||
<AddItemModal
|
||||
modalOpened={modalOpened}
|
||||
handleClose={handleClose}
|
||||
@@ -94,20 +107,7 @@ const MessageSettings = () => {
|
||||
</Stack>
|
||||
}
|
||||
/>
|
||||
<SettingsHeader
|
||||
setDragging={undefined}
|
||||
openModal={openModal}
|
||||
title={'Messages'}
|
||||
tooltip={{
|
||||
title: 'These custom messages will be displayed in the header on the homepage.',
|
||||
highlightList: ['$firstName', '$lastName', '$^firstName', '$^lastName'],
|
||||
description:
|
||||
'Built-in variables include $firstName and $lastName. To force the text to upper case, use a carat (^), ie, $^firstName. Messages may contain any unicode text.',
|
||||
}}
|
||||
searchValue={searchValue}
|
||||
setSearchValue={setSearchValue}
|
||||
/>
|
||||
<Stack w={'100%'} align='center'>
|
||||
<Stack mt={'6rem'} mb={'1rem'} w={'100%'} align='center'>
|
||||
<Grid w={'75%'}>
|
||||
{messages?.map((message: Message) => (
|
||||
<GridCol span={isMobile ? 12 : 6} key={message.id}>
|
||||
|
||||
Reference in New Issue
Block a user