File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
src/pages/TranslationDetails/TaskStatusDetails/byStatus/Created Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { Tooltip } from 'antd';
33import Spacer from '~/shared/Spacer' ;
44import { useShallowEqualSelector } from '~/adapters/react-redux' ;
55import { selectAllSkills } from '~/features/translator/translatorSlice' ;
6+ import ContentBlocker from '~/shared/ContentBlocker' ;
67import TaskStatusDetailsLayout from '../../components/TaskStatusDetailsLayout' ;
78import ContextAwareTaskInteractionButton from '../../components/ContextAwareTaskInteractionButton' ;
89import TaskDeadline from '../../components/TaskDeadline' ;
@@ -50,12 +51,10 @@ export default function CreatedForOther() {
5051
5152 return (
5253 < Tooltip title = { ! hasSkill ? "You don't have the required skills for this task" : '' } >
53- < div
54- css = { `
55- opacity: ${ ! hasSkill ? '0.4' : '1' } ;
56- ` }
57- >
58- < TaskStatusDetailsLayout { ...props } />
54+ < div >
55+ < ContentBlocker blocked = { ! hasSkill } contentBlur = { 0 } >
56+ < TaskStatusDetailsLayout { ...props } />
57+ </ ContentBlocker >
5958 </ div >
6059 </ Tooltip >
6160 ) ;
You can’t perform that action at this time.
0 commit comments