Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Jan 13, 2025
1 parent cfadfd6 commit adfafa3
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const getLastRunDisplay = (lh: LegalHold) => {
return lh.last_execution_ended_at ? new Date(lh.last_execution_ended_at).toLocaleString() : 'Never';
};


const LegalHoldRow = (props: LegalHoldRowProps) => {
const [showRunConfirmModal, setShowRunConfirmModal] = useState(false);
const [showRunErrorModal, setShowRunErrorModal] = useState(false);
Expand Down Expand Up @@ -63,11 +62,11 @@ const LegalHoldRow = (props: LegalHoldRowProps) => {
setResetClickCount(newCount);
if (newCount === 5) {
setResetClickCount(0);
Client.resetLegalHoldStatus(lh.id)
.then(() => {
Client.resetLegalHoldStatus(lh.id).
then(() => {
props.refresh();
})
.catch(() => {
}).
catch(() => {
// Silently fail
});
}
Expand Down

0 comments on commit adfafa3

Please sign in to comment.