mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 03:01:10 +03:00
Merge pull request #1317 from FlowiseAI/bugfix/AboutDialog
Bugfix/add back accidentally removed about dialog
This commit is contained in:
@@ -28,7 +28,7 @@ import Transitions from 'ui-component/extended/Transitions'
|
|||||||
import AboutDialog from 'ui-component/dialog/AboutDialog'
|
import AboutDialog from 'ui-component/dialog/AboutDialog'
|
||||||
|
|
||||||
// assets
|
// assets
|
||||||
import { IconLogout, IconSettings } from '@tabler/icons'
|
import { IconLogout, IconSettings, IconInfoCircle } from '@tabler/icons'
|
||||||
|
|
||||||
import './index.css'
|
import './index.css'
|
||||||
|
|
||||||
@@ -135,6 +135,18 @@ const ProfileSection = ({ username, handleLogout }) => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<ListItemButton
|
||||||
|
sx={{ borderRadius: `${customization.borderRadius}px` }}
|
||||||
|
onClick={() => {
|
||||||
|
setOpen(false)
|
||||||
|
setAboutDialogOpen(true)
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<ListItemIcon>
|
||||||
|
<IconInfoCircle stroke={1.5} size='1.3rem' />
|
||||||
|
</ListItemIcon>
|
||||||
|
<ListItemText primary={<Typography variant='body2'>About Flowise</Typography>} />
|
||||||
|
</ListItemButton>
|
||||||
{localStorage.getItem('username') && localStorage.getItem('password') && (
|
{localStorage.getItem('username') && localStorage.getItem('password') && (
|
||||||
<ListItemButton
|
<ListItemButton
|
||||||
sx={{ borderRadius: `${customization.borderRadius}px` }}
|
sx={{ borderRadius: `${customization.borderRadius}px` }}
|
||||||
|
|||||||
Reference in New Issue
Block a user