Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 01769ec

Browse files
authored
fix: LSDV-5235: Postpone should not require FF to operate (#1432)
1 parent 0ee9d5a commit 01769ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/BottomBar/CurrentTask.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { observer } from 'mobx-react';
22
import { useMemo } from 'react';
33
import { Button } from '../../common/Button/Button';
44
import { Block, Elem } from '../../utils/bem';
5-
import { FF_DEV_3034, isFF } from '../../utils/feature-flags';
65
import { guidGenerator } from '../../utils/unique';
76
import { isDefined } from '../../utils/utilities';
87
import './CurrentTask.styl';
@@ -15,8 +14,7 @@ export const CurrentTask = observer(({ store }) => {
1514

1615
const historyEnabled = store.hasInterface('topbar:prevnext');
1716
// @todo some interface?
18-
const canPostpone = isFF(FF_DEV_3034)
19-
&& !isDefined(store.annotationStore.selected.pk)
17+
const canPostpone = !isDefined(store.annotationStore.selected.pk)
2018
&& !store.canGoNextTask
2119
&& !store.hasInterface('review')
2220
&& store.hasInterface('postpone');

0 commit comments

Comments
 (0)