Add 'Collections' into txo filter (#7711)

This commit is contained in:
Byron Eric Perez 2022-10-28 19:31:56 -03:00 committed by GitHub
parent de062c4aee
commit 7dbeeac112
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -11,7 +11,8 @@ export const SUPPORT = 'support';
export const CHANNEL = 'channel';
export const PUBLISH = 'publish';
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
export const TIP = 'tip';
export const PURCHASE = 'purchase';