change collor for not my file button
This commit is contained in:
@@ -64,6 +64,10 @@ export default function FilePageViolationInfo(
|
||||
}
|
||||
queryClient.invalidateQueries({ queryKey: ['fileViolations'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['complainInfo', id] });
|
||||
queryClient.invalidateQueries({ queryKey: ['violationData'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['lastCases'] });
|
||||
queryClient.invalidateQueries({ queryKey: ['lastComplaints'] });
|
||||
|
||||
|
||||
if (status === 'NOT_OWNER_FILE') {
|
||||
console.log('NOT_OWNER_FILE');
|
||||
@@ -330,7 +334,7 @@ export default function FilePageViolationInfo(
|
||||
className="violation-info-action"
|
||||
>
|
||||
<button
|
||||
className="btn-s btn-resolve"
|
||||
className="btn-s btn-no-my-file"
|
||||
onClick={() => {
|
||||
if (selectedViolation?.id) {
|
||||
updateStatusHandler(selectedViolation.id, 'NOT_OWNER_FILE');
|
||||
|
||||
Reference in New Issue
Block a user