Skip to content

Commit

Permalink
Merge pull request #559 from bitfinexcom/beta
Browse files Browse the repository at this point in the history
Release fix to master!
  • Loading branch information
prdn authored Oct 14, 2022
2 parents f5ce7c1 + 66448d6 commit 5e1f051
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/state/query/saga.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ import actions from './actions'
import { getQueryLimit, NO_QUERY_LIMIT_TARGETS } from './utils'
import types from './constants'

const { showFrameworkMode } = config
const {
MENU_ACCOUNT_BALANCE,
MENU_AFFILIATES_EARNINGS,
Expand Down Expand Up @@ -231,11 +232,11 @@ function* getOptions({ target }) {
options.filter = yield select(getFilterQuery, target)
const selector = getSelector(target)
const sign = selector ? yield select(selector) : ''
const isFundingFees = yield select(getIsFundingFees)
const isTradingFees = yield select(getIsTradingFees)
const isVSPrevDayBalance = yield select(getIsVSPrevDayBalance)
const isUnrealizedProfitExcluded = yield select(getIsUnrealizedProfitExcluded)
const isVsAccountBalanceSelected = yield select(getIsVsAccountBalanceSelected)
const isFundingFees = showFrameworkMode ? yield select(getIsFundingFees) : ''
const isTradingFees = showFrameworkMode ? yield select(getIsTradingFees) : ''
const isVSPrevDayBalance = showFrameworkMode ? yield select(getIsVSPrevDayBalance) : ''
const isUnrealizedProfitExcluded = showFrameworkMode ? yield select(getIsUnrealizedProfitExcluded) : ''
const isVsAccountBalanceSelected = showFrameworkMode ? yield select(getIsVsAccountBalanceSelected) : ''

switch (target) {
case MENU_ACCOUNT_BALANCE:
Expand Down

0 comments on commit 5e1f051

Please sign in to comment.