changed restore icon
This commit is contained in:
parent
15d313baf1
commit
5666616b6b
@ -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={() => {
|
||||
|
@ -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;
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user