|
|
|
@ -315,8 +315,8 @@ export class CriminalRecordsAdminComponent implements OnInit {
|
|
|
|
|
loginUserInfo = JSON.parse(sessionStorage.getItem('userdata')) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (loginUserInfo.roles.find((item) => { |
|
|
|
|
return item.name == 'ViolationPositiveCensorer' |
|
|
|
|
if (loginUserInfo.permissions.find((item) => { |
|
|
|
|
return item.name == 'Data.Violation.Positive.Censor' |
|
|
|
|
})) { |
|
|
|
|
this.isMisinformation = true |
|
|
|
|
} else { |
|
|
|
|