Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release fix to master! #559

Merged
merged 2 commits into from
Oct 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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