mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: demond load outline
This commit is contained in:
parent
49f8ae93c7
commit
38784b9d73
@ -167,6 +167,7 @@ function AddComment() {
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
{loginOpen && (
|
||||
<LoginModal
|
||||
redirectTo={url}
|
||||
open={loginOpen}
|
||||
@ -174,6 +175,7 @@ function AddComment() {
|
||||
setLoginOpen(false);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -125,6 +125,7 @@ function MoreActions({ comment }: { comment: GlobalComment }) {
|
||||
<MoreIcon className={'h-4 w-4'} />
|
||||
</IconButton>
|
||||
</RichTooltip>
|
||||
{deleteModalOpen && (
|
||||
<NormalModal
|
||||
PaperProps={{
|
||||
sx: {
|
||||
@ -145,6 +146,7 @@ function MoreActions({ comment }: { comment: GlobalComment }) {
|
||||
{t('globalComment.confirmDeleteDescription')}
|
||||
</div>
|
||||
</NormalModal>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
@ -76,6 +76,7 @@ function MoreActions() {
|
||||
<IconButton onClick={handleClick}>
|
||||
<MoreIcon className={'text-text-caption'} />
|
||||
</IconButton>
|
||||
{open && (
|
||||
<Popover
|
||||
anchorOrigin={{
|
||||
vertical: 'bottom',
|
||||
@ -109,7 +110,9 @@ function MoreActions() {
|
||||
onClick={() => {
|
||||
window.open('https://appflowy.io', '_blank');
|
||||
}}
|
||||
className={'flex w-full cursor-pointer items-center justify-center py-2 text-sm text-text-title opacity-50'}
|
||||
className={
|
||||
'flex w-full cursor-pointer items-center justify-center py-2 text-sm text-text-title opacity-50'
|
||||
}
|
||||
>
|
||||
Powered by
|
||||
<Logo className={'ml-3 h-4 w-4'} />
|
||||
@ -117,6 +120,7 @@ function MoreActions() {
|
||||
</div>
|
||||
</div>
|
||||
</Popover>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ export function PublishViewHeader({ onOpenDrawer, openDrawer }: { onOpenDrawer:
|
||||
>
|
||||
<div className={'flex w-full items-center justify-between gap-2 overflow-hidden'}>
|
||||
<Suspense fallback={null}>
|
||||
{!openDrawer && (
|
||||
{!openDrawer && openPopover && (
|
||||
<OutlinePopover
|
||||
onMouseEnter={handleOpenPopover}
|
||||
onMouseLeave={debounceClosePopover}
|
||||
|
Loading…
Reference in New Issue
Block a user