mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed table action appearing in wrong position
refs https://github.com/TryGhost/Product/issues/3823
This commit is contained in:
parent
6e7089e58a
commit
3d9f22c13a
1 changed files with 15 additions and 13 deletions
|
@ -19,6 +19,7 @@ const RecommendationItem: React.FC<{recommendation: Recommendation}> = ({recomme
|
|||
const {mutateAsync: deleteRecommendation} = useDeleteRecommendation();
|
||||
|
||||
const action = (
|
||||
<div className="flex items-center justify-end">
|
||||
<Button color='red' label='Remove' link onClick={() => {
|
||||
NiceModal.show(ConfirmationModal, {
|
||||
title: 'Remove recommendation',
|
||||
|
@ -32,6 +33,7 @@ const RecommendationItem: React.FC<{recommendation: Recommendation}> = ({recomme
|
|||
}
|
||||
});
|
||||
}} />
|
||||
</div>
|
||||
);
|
||||
|
||||
const showDetails = () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue