mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
admin msg html tags fix, added X to close modals
This commit is contained in:
parent
0e59785c3c
commit
e9e9f94130
4 changed files with 28 additions and 5 deletions
|
@ -89,7 +89,7 @@ export default function Layout({
|
|||
</div>
|
||||
{sidebarOpen ? (
|
||||
<>
|
||||
<div id="sideBarLinks">
|
||||
<div id="sideBarLinks" className="sidebarLinks">
|
||||
{Object.keys(tabs).map((key) => {
|
||||
const item = tabs[key]
|
||||
return (
|
||||
|
@ -178,7 +178,9 @@ export default function Layout({
|
|||
}}
|
||||
>
|
||||
<div style={{ textAlign: 'center' }}>Üzenet admintól:</div>
|
||||
<div>{userSpecificMotd.msg}</div>
|
||||
<div
|
||||
dangerouslySetInnerHTML={{ __html: userSpecificMotd.msg }}
|
||||
/>
|
||||
</Modal>
|
||||
) : null}
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue