Add 'Collections' into txo filter (#7711)
This commit is contained in:
parent
de062c4aee
commit
7dbeeac112
2 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue