diff --git a/src/app/@api/member.api.ts b/src/app/@api/member.api.ts index 7b017aa..a6f4340 100644 --- a/src/app/@api/member.api.ts +++ b/src/app/@api/member.api.ts @@ -133,7 +133,6 @@ export class MemberApi extends BaseApi { }), ); - /* public topSpaces = ( memberId: NetworkAddress, orderBy = ['createdOn'], @@ -141,20 +140,6 @@ export class MemberApi extends BaseApi { lastValue?: string, limit?: number, ) => this.spaceDataset.getTopByMember(memberId, orderBy, orderByDir, lastValue, limit); - */ - - public topSpaces = ( - memberId: NetworkAddress, - orderBy = ['createdOn'], - orderByDir = ['desc'], - lastValue?: string, - limit?: number, - ) => { - console.log( - `topSpaces API function called with memberId: ${memberId}, orderBy: ${orderBy}, orderByDir: ${orderByDir}, lastValue: ${lastValue}, limit: ${limit}`, - ); - return this.spaceDataset.getTopByMember(memberId, orderBy, orderByDir, lastValue, limit); - }; public pendingSpaces = ( memberId: NetworkAddress, diff --git a/src/app/components/nft/components/nft-selection-toolbar/nft-selection-toolbar.module.ts b/src/app/components/nft/components/nft-selection-toolbar/nft-selection-toolbar.module.ts index 8f00905..11c0dca 100644 --- a/src/app/components/nft/components/nft-selection-toolbar/nft-selection-toolbar.module.ts +++ b/src/app/components/nft/components/nft-selection-toolbar/nft-selection-toolbar.module.ts @@ -4,10 +4,11 @@ import { NftSelectionToolbarComponent } from './nft-selection-toolbar.component' import { NzButtonModule } from 'ng-zorro-antd/button'; import { NzModalModule } from 'ng-zorro-antd/modal'; import { NftTransferModule } from '@components/nft/components/nft-transfer/nft-transfer.module'; +import { IconModule } from '@components/icon/icon.module'; @NgModule({ declarations: [NftSelectionToolbarComponent], - imports: [CommonModule, NzButtonModule, NzModalModule, NftTransferModule], + imports: [CommonModule, NzButtonModule, NzModalModule, NftTransferModule, IconModule], exports: [NftSelectionToolbarComponent], }) export class NftSelectionToolbarModule {} diff --git a/src/app/components/nft/components/nft-transfer/nft-transfer.component.html b/src/app/components/nft/components/nft-transfer/nft-transfer.component.html index 5cde020..1c0ab00 100644 --- a/src/app/components/nft/components/nft-transfer/nft-transfer.component.html +++ b/src/app/components/nft/components/nft-transfer/nft-transfer.component.html @@ -5,8 +5,33 @@ Image Name Network - Transfer - Withdraw + +
+ Transfer + + + +
+
+ +
+ Withdraw + + + +
+
+ Results - + + NFT image + {{ nft.name }} {{ - nft.mintingData?.network + nft.network }} @@ -132,6 +168,16 @@ Close + +