pramod_Task#410 : Display Directory Feature at Project Section #162

Merged
pramod.mahajan merged 22 commits from pramod_Task#410 into Feature_Directory 2025-05-30 07:15:04 +00:00
3 changed files with 11 additions and 9 deletions
Showing only changes of commit 5666616b6b - Show all commits

View File

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

View File

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

View File

@ -156,16 +156,17 @@ const NoteCardDirectory = ({refetchProfile,refetchNotes, noteItem, contactId, se
)} )}
</> </>
) : isActivProcess ? ( ) : isActivProcess ? (
< i className='bx bx-refresh text-primary bx-spin' ></i> < i className='bx bx-loader-alt bx-spin text-primary' ></i>
) : ( ) : (
<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)} onClick={() => handleDeleteNote(!noteItem.isActive)}
title="Restore" title="Restore"
></i> ></i>
)} )}
</div> </div>
</div> </div>
<hr className="mt-0" /> <hr className="mt-0" />