Add 'Collections' into txo filter #7711

Merged
ByronEricPerez merged 1 commit from Add-'Collections'-into-txo-filter#6231 into master 2022-10-29 00:31:56 +02:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit b3d54417ee - Show all commits

View file

@ -103,6 +103,8 @@ function TxoList(props: Props) {
params[TXO.TX_TYPE] = currentUrlParams.type; params[TXO.TX_TYPE] = currentUrlParams.type;
} else if (currentUrlParams.type === TXO.PUBLISH) { } else if (currentUrlParams.type === TXO.PUBLISH) {
params[TXO.TX_TYPE] = TXO.STREAM; params[TXO.TX_TYPE] = TXO.STREAM;
} else if (currentUrlParams.type === TXO.COLLECTION) {
params[TXO.TX_TYPE] = currentUrlParams.type;
} }
} }
if (currentUrlParams.active) { if (currentUrlParams.active) {

View file

@ -11,7 +11,8 @@ export const SUPPORT = 'support';
export const CHANNEL = 'channel'; export const CHANNEL = 'channel';
export const PUBLISH = 'publish'; export const PUBLISH = 'publish';
export const REPOST = 'repost'; export const REPOST = 'repost';
export const DROPDOWN_TYPES = [ALL, SENT, RECEIVED, SUPPORT, CHANNEL, PUBLISH, REPOST]; export const COLLECTION = 'collection';
export const DROPDOWN_TYPES = [ALL, SENT, RECEIVED, SUPPORT, CHANNEL, PUBLISH, REPOST, COLLECTION];
// dropdown subtypes // dropdown subtypes
export const TIP = 'tip'; export const TIP = 'tip';
export const PURCHASE = 'purchase'; export const PURCHASE = 'purchase';