changed restore icon

This commit is contained in:
Pramod Mahajan 2025-05-30 11:38:43 +05:30
parent e739a380f7
commit cd7422c991
3 changed files with 11 additions and 9 deletions

View File

@ -79,10 +79,10 @@ const CardViewDirectory = ({
)}
{!IsActive && (
<i
className={`bx bx-history ${
className={`bx ${
dirActions.action && dirActions.id === contact.id
? "bx-spin"
: ""
? "bx-loader-alt bx-spin"
: "bx-recycle"
} me-1 text-primary cursor-pointer`}
title="Restore"
onClick={() => {

View File

@ -110,8 +110,9 @@ const ListViewDirectory = ({
)}
{!IsActive && (
<i
className={`bx bx-history ${
dirActions.action && dirActions.id === contact.id ? "bx-spin" : ""
className={`bx ${
dirActions.action && dirActions.id === contact.id ? "bx-loader-alt bx-spin"
: "bx-recycle"
} me-1 text-primary cursor-pointer`}
title="Restore"
onClick={() => {
@ -125,4 +126,4 @@ const ListViewDirectory = ({
);
};
export default ListViewDirectory;
export default ListViewDirectory;

View File

@ -156,15 +156,16 @@ const NoteCardDirectory = ({refetchProfile,refetchNotes, noteItem, contactId, se
)}
</>
) : isActivProcess ? (
< i className='bx bx-refresh text-primary bx-spin' ></i>
< i className='bx bx-loader-alt bx-spin text-primary' ></i>
) : (
<i
className="bx bx-history me-1 text-primary cursor-pointer"
className="bx bx-recycle me-1 text-primary cursor-pointer"
onClick={() => handleDeleteNote(!noteItem.isActive)}
title="Restore"
></i>
)}
</div>
</div>
</div>