fix string for legal/complaint button
This commit is contained in:
@@ -309,6 +309,9 @@
|
||||
&.complaint_in_work {
|
||||
background: v.$status-in-work;
|
||||
color: v.$white;
|
||||
|
||||
/* background: #3b83f61a;
|
||||
color: v.$status-in-work; */
|
||||
}
|
||||
|
||||
&.authorized_use {
|
||||
|
||||
@@ -65,13 +65,13 @@ export default function FilePageViolationInfoTabs({ selectedViolation, updateSta
|
||||
className={`btn btn-primary ${activeTab === 'complaint' ? 'active' : ''}`}
|
||||
onClick={() => setActiveTab('complaint')}
|
||||
>
|
||||
Жалоба
|
||||
{selectedViolation.status === 'COMPLAINT_IN_WORK' || selectedViolation.status === 'COMPLAINT_AND_LEGAL_IN_WORK' ? 'Жалоба': 'Подать жалобу'}
|
||||
</button>
|
||||
<button
|
||||
className={`btn btn-primary ${activeTab === 'legal' ? 'active' : ''}`}
|
||||
onClick={() => setActiveTab('legal')}
|
||||
>
|
||||
Претензия
|
||||
{selectedViolation.status === 'LEGAL_IN_WORK' || selectedViolation.status === 'COMPLAINT_AND_LEGAL_IN_WORK' ? 'Претензия': 'Подать претензию'}
|
||||
</button>
|
||||
</div>
|
||||
<div className="violation-info-content">
|
||||
|
||||
Reference in New Issue
Block a user